Make Excel SUMIF Match Exact Text Such as 1.1 and 1.01
Question details
The user needs to sum values only when an identifier matches the exact text, distinguishing entries such as 1.1 and 1.01.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains text-like identifiers and corresponding amounts to sum.
- Observed behavior
- SUMIF can interpret text criteria as numbers or dates, causing identifiers that look different to be treated as equivalent.
Identify the identifier column, the amount column, and the cell containing the lookup value. Make sure identifiers and the lookup value are stored as text; if Excel has already converted an identifier to a number or date, re-enter or reimport the original text.
Use EXACT with SUMPRODUCT to compare identifiers as text
Use this formula when you need to distinguish identifiers character by character without adding a helper column.
EXACT compares text character by character and is case-sensitive. The example assumes identifiers are in A2:A100, amounts are in B2:B100, and the text to match is in D2.
Format D2 as Text using Home > Number Format, then enter 1.1. Ensure the identifiers in column A are also stored as text.
Select an empty cell and enter =SUMPRODUCT(--EXACT(A2:A100,D2),B2:B100). Adjust both ranges to cover the same rows in your worksheet.
Compare the result with the amounts beside 1.1 in column A. Change D2 to 1.01 to confirm that the other identifier produces its own sum.

Add a helper column for an exact-text SUMIF
Use a helper column when you want to keep using SUMIF with identifiers such as 1.1 and 1.01.
Sum exact text matches in WPS Spreadsheet
Use EXACT with SUMPRODUCT in WPS Spreadsheet to distinguish text identifiers such as 1.1 and 1.01 while summing their corresponding amounts.
- 1. Open the spreadsheet: Open WPS Spreadsheet and use Open to select your workbook.
- 2. Prepare the identifiers: Store the identifier cells and lookup cell as text. For this example, use A2:A100 for identifiers, B2:B100 for amounts, and D2 for the lookup text.
- 3. Enter the exact-match formula: Select an empty cell and enter =SUMPRODUCT(--EXACT(A2:A100,D2),B2:B100).
- 4. Verify and save: Test D2 with 1.1 and 1.01, then use File > Save As to save the workbook in XLSX format.

Frequently Asked Questions
Why can SUMIF treat 1.1 and 1.01 as the same?
SUMIF may interpret a criterion as a number or date rather than comparing every character as text. Use EXACT with SUMPRODUCT or append a nonprinting character to both the helper values and the criterion.
Does EXACT distinguish uppercase and lowercase letters?
Yes. EXACT is case-sensitive, so an identifier such as ABC does not match abc. Check capitalization in the identifier column and lookup cell.
Will formatting a converted value as text restore its original characters?
No. Changing the cell format to Text does not restore characters lost when Excel converted the original entry. Re-enter the identifier or reimport the source column as text.
What if an identifier has extra spaces?
EXACT treats spaces as characters, so a trailing or leading space prevents a match. Check the source and lookup cells, and clean unwanted spaces consistently before comparing them.




