Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=TEXT(B2,"#,##0,,M")Computed by a real spreadsheet engine on the sample data below.
| Number | Formatted Number |
| 123456789 | |
| 9876543 | |
| 456789 | |
| 12345 | |
| 123 |
=TEXT(B2,"#,##0,,M")→#,##0,,12
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Yes, the TEXT function will handle negative numbers correctly.
The formula will still work, but it will display it as millions of millions. Adjust the divisor in the formula accordingly.
Yes, you can use nested IF statements to determine the appropriate format dynamically.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: