Exports from social, ad and CRM tools often show numbers like 12.5K and 3.2M. They look like numbers but are text, so SUM ignores them. Check the last character with RIGHT, strip it with LEFT and LEN, and multiply by 1,000 or 1,000,000; anything without a suffix just goes through VALUE.
The text 12.5K becomes the number 12,500, and 3.2M becomes 3,200,000.
The example
Three worked examples. Change any yellow input in the practice workbook and the results recalculate.
| A | B | C | |
|---|---|---|---|
| 1 | Case | Text | Number |
| 2 | Impressions | 12.5K | 12,500 |
| 3 | Video views | 3.2M | 3,200,000 |
| 4 | Clicks | 850 | 850 |
The formula
Here is the formula, built directly from the inputs:
How it works
Here is the logic, one piece at a time:
RIGHT(B2,1)reads the suffix.LEFT(B2,LEN(B2)-1)drops it.- Multiplying by 1000 or 1000000 also converts the text to a number.
VALUE(B2)handles plain numbers stored as text.
Keep every number in its own input cell so the formula never needs editing.
Try it: interactive demo
Enter the values below.
Variations
Add billions
Handle a B suffix as well.
Strip spaces first
Clean values like " 4.1K ".
Pitfalls & errors
Lowercase k slips past a case-sensitive test; UPPER makes the check reliable.
Values like 1.2K are already rounded, so totals are approximate.
Paste the results as values once converted so you can delete the text column.
Practice workbook
Frequently asked questions
Why does SUM ignore 12.5K?
Is there a single function for this?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class