# Notation for Thousands and Millions

Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Notation for Thousands and Millions.

Jim wonders how he can get Excel to automatically display numbers using "k" for thousands and "m" for millions. As an example, if a cell contains the value \$470,000 he would like it displayed as \$470k; if it contains the value \$1,107,432 he would like it displayed as \$1.1m.

One obvious method is to create a formula that will display the information as desired. The following formula will take into account the magnitude of the number in cell B2 and then provide a formatted text string appropriate to that magnitude:

```=IF(B2 < 1000,B2,IF(B2 < 1000000,
"\$" & ROUND(B2/1000,1) & "k",
"\$" & ROUND(B2/1000000,1) & "m"))
```

Remember that this is a single formula and should be entered entirely on one line. The drawback with such an approach, of course, is that the formula takes up space within your worksheet. To get around this you could, instead, create a custom format that will simply affect the display of the number in the cell.

To create a custom format if you are using a version of Excel prior to Excel 2007, choose Cells from the Format menu, display the Number tab, and click Custom at the left side of the dialog box. Here's the custom format you should create in the dialog box:

```[>1000000]\$#.0,,"m";[>1000]\$#,"k";\$#,##0
```

This format will display both millions and thousands using the desired notation. If the number is below a thousand then it will be displayed without any special notation. As appropriate, values are rounded to one decimal place.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3528) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Notation for Thousands and Millions.

Related Tips:

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

 *Name: Email: Notify me about new comments ONLY FOR THIS TIP Notify me about new comments ANYWHERE ON THIS SITE Hide my email address *Text: *What is 5+3 (To prevent automated submissions and spam.)

Stevo    18 Aug 2016, 19:39
What is the number is negative? How do you show it in red with a "-"?
Samir    06 Jun 2016, 20:45
I would use this format to make it so less than \$1000 numbers show up as "\$0.XK"

[>1000000]\$#.0,,"M";[>1000]\$#,"K";"\$"0,.0"K"
Karen    18 Sep 2015, 18:07
Worked perfectly. I took out the \$ for my presentation and changed "m" to "M"... got exactly what I needed. THANKS!
Ramiro    09 Sep 2015, 12:09
THANK YOU!
Kim    18 Jun 2015, 13:36
Love it! Thanks - just what I needed to add variable dollar amounts to a concatenated heading above a table.
I made a slight modification to add 2 decimal places to my millions figure because it wasn't displaying a decimal place when it was, e.g., \$2,027,230, resulting in a display of \$2.03M, perfect:
=IF(AL6 <= 1000,"\$"&AL6,IF(AL6 <= 1000000,"\$" & ROUND(AL6/1000,1) & "K","\$" & ROUND(AL6/1000000,2) & "M"))
Thank you!
Bill    29 May 2014, 12:17
To fix the 1,000k or 1,000m issue add a "=" infront of both ">" symbols.
Teman    20 Jan 2012, 07:11
Thanks Allen, however I have tried this custom format and it does not contract thousands (e.g. 1,100) to 1.1k. Instead I get 1,100 k which is 1.1 M. Any suggestion?

Thanks,
Teman

# Our Company

Sharon Parq Associates, Inc.

# Our Sites

Tips.Net

Beauty and Style

Cars

Cleaning

Cooking

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2016)

Gardening

Health

Home Improvement

Money and Finances

Organizing

Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2016)

Excel Products

Word Products

# Our Authors

Author Index

Write for Tips.Net