Format numbers in a spreadsheet - Computer (2024)

You can format your data in several different ways in Google Sheetsso that your spreadsheet and its contents are displayed how you want them.

Format numbers, dates, and currencies

To format or change the format of numbers, dates or currencies in a spreadsheet:

Format numbers in a spreadsheet - Computer (1)

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the range of cells you'd like to format or modify.
  3. Click Format Format numbers in a spreadsheet - Computer (2) Number.
  4. Select the format to apply to the range of cells.

Custom formatting of numbers, dates, and currencies

You can apply custom formatting for currencies, dates, and numbers. For each of these, you can search in the text boxes found in the formatting menus to find the format that works for your spreadsheet. If you don’t find what you are looking for, you can now create your own custom formatting within the menus.

Custom date formatting

To apply a custom date or time format to your spreadsheet:

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Highlight the data you want to format.
  3. Click Format Format numbers in a spreadsheet - Computer (3) Number.
  4. Click Custom date and time.
  5. Search in the menu text box to select a format. You can also add your own custom date or time format into the text box.
  6. Click Apply.

By default, the time and date options that surface will be based on your spreadsheet locale.

If you want to add more detailed time or date values to your formatting, for example the hour or minute, click the down arrow in the right corner of the menu text box and select an additional value. You can adjust the specific formatting for these values by clicking on the arrows in the value and choosing an option. To delete a value from your formatting, click the value and select Delete.

Custom currency formatting

To apply a custom currency format to your spreadsheet:

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Highlight the data you want to format.
  3. Click Format Format numbers in a spreadsheet - Computer (4) Number.
  4. Click Custom currency.
  5. Search in the menu text box to select a format. You can also add your own custom currency format into the text box.
  6. Click Apply.

You can also change a few properties about the currency (for example, how many decimal places to show) by clicking the drop-down menu in the right corner of the input box and choosing a desired option.

Custom number formatting

To apply a custom number format to your spreadsheet:

  1. On your computer, open a spreadsheet in Google Sheets.
  2. Highlight the data you want to format.
  3. Click Format Format numbers in a spreadsheet - Computer (5) Number.
  4. Click Custom number format.
  5. Search in the menu text box to select a format. You can also add your own custom number format into the text box.
  6. Click Apply.

When creating a custom format, note that the formatting can consist of up to 4 parts separated by semicolons: positive;negative;zero;non-numeric. Financial formats are also supported.

You can use colors in the formatting, for example to differentiate between positive and negative numbers, by adding a color in brackets (for example, [Red]) anywhere within the desired part of the format. Formatting colors must be used in English. The colors that can be used are:

  • Black
  • White
  • Red
  • Blue
  • Green
  • Magenta
  • Yellow
  • Cyan
  • Color# (where # is replaced by a number between 1-56 to choose from a different variety of colors)

Here is a list of common syntax characters that can be used to create a custom number format:

Character Description
0 A digit in the number. An insignificant 0 will appear in the results.
# A digit in the number. An insignificant 0 will not appear in the results.
? A digit in the number. An insignificant 0 will appear as a space in the results.
$ Formats numbers as a dollar value.
.(period)

Formats numbers with a decimal separator.

  • The spreadsheet locale determines which character is used as the decimal separator for all numeric values.
  • When you press the decimal key on a numeric keypad, the spreadsheet locale also determines the character inserted.
,(comma) Formats numbers with a thousands separator.
/ Formats numbers as a fraction.
% Formats numbers as a percent
E Formats numbers as an exponent.
"text" Adds text to the formula. Insert the desired text within quotations for it to appear.
@

Displays text entered into a cell.

*

Repeats the following character to fill in the remaining space in the cell.

_ (underscore)

Adds a space equal in width to the following character.

Need more help?

Try these next steps:

Post to the help community Get answers from community members

Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Format numbers in a spreadsheet - Computer (2024)

FAQs

Format numbers in a spreadsheet - Computer? ›

Select the cells that you want to format. On the Home tab, in the Number group, click the dialog box launcher next to Number (or just press CTRL+1). In the Category list, click the format that you want to use, and then adjust settings, if necessary.

How do you format numbers on a spreadsheet? ›

Select the cells that you want to format. On the Home tab, in the Number group, click the dialog box launcher next to Number (or just press CTRL+1). In the Category list, click the format that you want to use, and then adjust settings, if necessary.

What are 4 ways to format data in a spreadsheet? ›

Ways to format a worksheet
  1. Working with document themes. ...
  2. Using styles to quickly format data. ...
  3. Formatting data manually. ...
  4. Using borders and colors to emphasize data. ...
  5. Changing the alignment or orientation of data. ...
  6. Copying an existing format to other data.

How can you format numbers in a calc sheet? ›

Answer: In Calc, when you select the General, right-click, and open the Format Cells window, you will see that the General format is under the Number category. There are also Options and Format comde fields that allow you to change the format.

How do I fix Number formatting in Excel? ›

Under Help, click Options. In the Excel Options dialog box, click the Formulas category. Under Error checking rules, clear the Numbers formatted as text or preceded by an apostrophe check box.

How do I auto format numbers in Excel? ›

To quickly apply an AutoFormat style to a table:
  1. Highlight the data in the worksheet that you want to format.
  2. Go to the Quick Access Toolbar and select AutoFormat.
  3. In the AutoFormat dialog box, choose a style.
  4. Select OK to close the dialog box.
  5. The new style is applied to the table.
Oct 26, 2021

How do I format cells in numbers in sheets? ›

To format or change the format of numbers, dates or currencies in a spreadsheet:
  1. On your computer, open a spreadsheet in Google Sheets.
  2. Select the range of cells you'd like to format or modify.
  3. Click Format. Number.
  4. Select the format to apply to the range of cells.

How to format on a spreadsheet? ›

Format one or more cells
  1. Open a spreadsheet in the Google Sheets app.
  2. Tap a cell, then drag the blue markers across nearby cells you want to select.
  3. Tap Format .
  4. In the "Text" tab, choose an option to format your text. Bold. ...
  5. In the "Cell" tab, choose an option to format your cell. ...
  6. Tap the sheet to save your changes.

What is the best practice in formatting spreadsheets? ›

Use consistent formats, codes, spellings, etc. and do not mix data types in a single column. Enter data using consistent formats, for example, always use the same formats for dates. Order similar columns in multiple tables in a similar way.

How do you format data in sheets? ›

Google Sheets provides some common formats to choose from, but you can also define your own formats. In the Sheets UI, you apply number and date formats to cells using the Format > Number menu. In the Sheets API, you set these formats using a spreadsheets.

What two methods are available for formatting numbers in worksheet? ›

Excel formatting shortcuts
ShortcutFormat
Ctrl+Shift+~General format
Ctrl+Shift+!Number format with a thousand separator and two decimal places.
Ctrl+Shift+$Currency format with 2 decimal places, and negative numbers displayed in parentheses
Ctrl+Shift+%Percentage format with no decimal places
3 more rows
Mar 21, 2023

How do I format Text in Excel numbers? ›

On the Home tab, in the Number group, click the arrow next to the Number Format box, and then click Text. Note: If you don't see the Text option, use the scroll bar to scroll to the end of the list.

How do I change numbers in a spreadsheet? ›

To replace text or numbers, press Ctrl+H, or go to Home > Editing > Find & Select > Replace.

How do I permanently format numbers in Excel? ›

Select a cell for which you want to create custom formatting, and press Ctrl+1 to open the Format Cells dialog. Under Category, select Custom. Type the format code in the Type box. Click OK to save the newly created format.

How do I customize number format in Excel? ›

Create a custom number format
  1. On the Home tab, in the Number group, click More Number Formats at the bottom of the Number Format list .
  2. In the Format Cells dialog box, under Category, click Custom.
  3. In the Type list, select the built-in format that most resembles the one that you want to create.

How to change number format in numbers? ›

Format numbers, dates, and currencies
  1. On your Android phone or tablet, open a spreadsheet in the Google Sheets app.
  2. Tap a cell or range of cells.
  3. Tap Format. .
  4. Tap an option from the list. The format will be applied to your selected cells.

What format is a numbers spreadsheet? ›

A Numbers file, denoted by the . numbers file extension, is a spreadsheet file created by Apple's Numbers application, which is part of the iWork productivity suite. Numbers is Apple's answer to Microsoft's Excel and Google's Sheets, offering a range of features for creating and managing spreadsheets.

How can you format a spreadsheet? ›

Format one or more cells
  1. Open a spreadsheet in the Google Sheets app.
  2. Tap a cell, then drag the blue markers across nearby cells you want to select.
  3. Tap Format .
  4. In the "Text" tab, choose an option to format your text. Bold. ...
  5. In the "Cell" tab, choose an option to format your cell. ...
  6. Tap the sheet to save your changes.

How do I format a phone Number in a spreadsheet? ›

For example, you can format a 10-digit number, such as 5555551234, as (555) 555-1234.
  1. Select the cell or range of cells that you want to format. How to select cells or ranges?
  2. On the Home tab, click the Dialog Box Launcher next to Number.
  3. In the Category box, click Special.
  4. In the Type list, click Phone Number.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 6490

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.