Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How Number Formats Work in Google Sheets

Format currency, percentages, dates, and decimals correctly, and understand which changes affect the display and which affect stored values.

Table of Contents

Number formats in Google Sheets control how values appear: as currency, percentages, dates, times, or ordinary numbers. Formatting usually changes the display, not the stored numeric value. Enter the correct value first, then choose a format that makes its meaning clear.

Why use number formats?

Consistent formats help readers distinguish prices, rates, dates, and quantities. They do not repair incorrectly entered data. For example, formatting 5 as a percentage displays 500%, while 0.05 displays 5%. Formulas use the underlying values, so both entry and display must be checked.

With Automatic formatting, Sheets may interpret a new entry as a date, percentage, or number. The spreadsheet locale influences that interpretation. Format identifiers such as postal codes as Plain text before entering them if leading zeroes must be retained.

Apply number formats

Just like other formatting styles, such as changing font color, you apply number formatting by selecting the cells and choosing your desired formatting option. There are two main ways to select number formatting:

Click on one of the quick number formatting commands in the toolbar.

Learn about number formats Picture 1

For the full set of choices, select Format > Number or use the toolbar’s number-format menu. The screenshots show an older menu labeled More Formats.

Learn about number formats Picture 2

The example applies dollar currency formatting with two decimal places. Currency formatting adds a symbol and controls display; it does not convert one currency into another. Choose the appropriate currency under Format > Number > Custom currency.

Learn about number formats Picture 3

Select a cell to inspect its entry or formula in the formula bar. A displayed value can be rounded even though calculations still use the full stored value. If the cell contains a formula, the formula bar shows that formula.

Learn about number formats Picture 4

Enter the value before formatting it

Number formatting involves more than just selecting cells and applying formatting. Spreadsheets can actually apply various number formats automatically based on how you enter the data. This means you'll need to enter the data in a way the program can understand, and then ensure that those cells are using the appropriate number format. For example, the image below shows how to correctly use number formats for dates, percentages, and times:

Learn about number formats Picture 5

Check percentages and dates particularly carefully because a plausible-looking display can conceal an incorrect value.

Percentage format

One of the most useful number formats is the percentage (%). It displays values ​​as percentages, such as 20% or 55%. This is especially helpful when calculating things like sales tax or tips. When you enter a percentage sign (%) after a number, the percentage format is automatically applied to that cell.

Learn about number formats Picture 6

As you may recall from your math class, a percentage can also be written as a decimal. So, 15% is the same as 0.15, 7.5% is equivalent to 0.075, 20% is 0.20, 55% is 0.55, and so on.

There are many times when percentage formatting is useful. For example, in the images below, notice how the sales tax is formatted differently for each spreadsheet (5%, 5%, and 0.05):

Learn about number formats Picture 7

The left example uses the stored value 5, so multiplying 22.50 by it gives 112.50. A 5% rate must be stored as 0.05: 22.50 × 0.05 gives 1.125. The middle and right examples can calculate correctly because they use that same numeric rate; percentage formatting makes the middle example clearer.

Date formatting

Sheets represents recognized dates as numeric date values. A date format controls their display. Applying Date to arbitrary text does not guarantee that it becomes a valid date; enter an unambiguous date or use a date function.

Numeric date entries depend on locale: 10/12/2016 can mean October 12 or December 10. The original screenshot uses month/day/year. To make the intended date explicit, enter =DATE(2016,10,12), then apply a date format. Check File > Settings > Locale when working across regions.

Learn about number formats Picture 8

Now that the example has correctly formatted the dates, you can do various things with this data. For example, you can use a fill handle to continue the dates by column, so a different date will appear in each cell:

Learn about number formats Picture 9

The example below shows March 15th remaining as text. Date recognition depends on the entry and locale; words and ordinal suffixes are less reliable than a complete, unambiguous date.

Learn about number formats Picture 10

An entry such as March 15 may be recognized in some locales and assigned a year automatically. Include the year whenever it matters, and check the result. Do not assume that every day/month or month/day variation will be interpreted the way you intend.

Inspect the entry and test whether Sheets treats it as a numeric date value. For example, =ISNUMBER(A1) returns TRUE for a recognized date, though it also returns TRUE for other numeric values. Verify the year, month, and day as well; this test alone cannot confirm that the intended date was entered.

Learn about number formats Picture 11

Other date formatting options

Select the cells, then choose Format > Number > Custom date and time. Older screenshots show the equivalent option under More formats.

Learn about number formats Picture 12

The Custom date and time formats dialog box will appear. From here, you can select your desired date format options. These are options for displaying dates differently, such as including the day of the week or omitting the year.

Learn about number formats Picture 13

As you can see in the formula bar, the custom date format doesn't change the actual date in the cell—it only changes how it's displayed.

Learn about number formats Picture 14

Number formatting tips

Here are some tips for getting the best results with number formatting.

  • Applying number formatting to an entire column : If you intend to use a column for a specific type of data, such as dates or percentages, you may find it easiest to select the entire column by clicking on the column character and applying the desired number formatting. This way, any data you add to this column in the future will have the correct number formatting. Note that the header row is usually unaffected by number formatting.

Learn about number formats Picture 15

  • Carefully check your values ​​after applying number formatting : Applying number formatting to existing data can lead to unexpected results. For example, applying percentage (%) formatting to a cell with a value of 5 might give you 500%, not 5%. In this case, you need to re-enter the values ​​correctly in each cell.

Learn about number formats Picture 16

  • If you reference a cell with number formatting in a formula, the spreadsheet may automatically apply the same number formatting to the new cell. For example, if you use a value with currency formatting in a formula, the calculated value will also use the currency number formatting.

Learn about number formats Picture 17

  • If you want your data to appear exactly as you entered it, you need to use plain text formatting . This is especially good for numbers you don't want to perform calculations on, such as phone numbers, zip codes, or numbers that start with 0, like 02415. For best results, you may want to apply plain text formatting before entering data into these cells.

Show more or fewer decimal places

The Increase decimal places and Decrease decimal places commands allow you to control the number of decimal places displayed in a cell. These commands do not change the value of the cell; instead, they display the value to a set number of decimal places.

Learn about number formats Picture 18 Decreasing the number of decimal places will display the value rounded to that decimal place, but the actual value in the cell will still be displayed in the formula bar.

Learn about number formats Picture 19

The Increase/Decrease decimal places commands do not work with some number formats, such as Date and Fraction.

When a calculation must use a rounded amount, use a rounding formula such as =ROUND(A1,2); hiding decimal places changes only the display. For a practical application of dates and currency, see building a monthly spending tracker. For date display examples, see date and time functions in Google Sheets.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.