In this article:

Google Sheets Custom Number Format for Millions (2024 Guide)

How to Set Up a Custom Number Format in Google Sheets for Millions 

To set up a custom number format in Google Sheets that displays numbers in millions, you can follow these steps:

Step 1: Select Your Cells

Click on the cell or range of cells that you want to format. You can click and drag to select multiple cells, or click on the column and row headers to select an entire column or row.

Step 2: Open the Format Menu

With your cells selected, go to the menu at the top of the screen and click on “Format.” This will open a dropdown menu.

google sheets number format millions

Step 3: Go to Custom Number Format

In the dropdown menu, hover over “Number” to open another side menu where you will see various pre-set number formats. At the bottom of this menu, click on “Custom number format” to open the custom format dialogue box.

google sheets custom number format millions

Step 4: Enter Custom Format for Millions

In the custom format dialogue box, you will enter the custom format code to display numbers in millions. Use the following format:

#,##0.00,,"M"

This format works as follows:

  • #,##0.00 ensures that your number will have a comma as a thousand separator, and it will display two decimal places.
  • The two commas after 0.00 tell Google Sheets to divide the number by 1,000,000 (each comma is a division by 1,000).
  • "M" adds the letter M immediately after the number to signify millions.

Step 5: Apply the Custom Format

After typing in the custom format, click “Apply” to apply it to the selected cells.

custom number format google sheets millions

Here is an example of what it should look like:

custom number format for millions in google sheets

We hope that this article has helped you and given you a better understanding of how to set up a Google Sheets custom number format for millions. If you enjoyed this article, you might also like our articles on how to troubleshoot when Google Sheets is running slow and how to use the CEILING function in Google Sheets.

Automate repetitive tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started