AI Guides

7 Excel Data Mistakes That Break Totals, Lookups and PivotTables

7 Excel data mistakes that break totals, lookups and PivotTables: text numbers, extra spaces, inconsistent text, duplicates, mixed dates and wrong data types — and which Copilot cleaner actually checks each one.

Share f 𝕏 WA
Illustration for: 7 Excel Data Mistakes That Break Totals, Lookups and PivotTables

Seven quiet faults — text numbers, stray spaces, duplicates and mixed dates — can make a correct formula return a wrong answer.

Key points

  • Numbers stored as text and columns mixing Text and Number formats can produce incorrect calculations.
  • Extra spaces and inconsistent text split one value into several, breaking lookups and aggregations.
  • Duplicate values, inconsistent dates and wrong data types distort PivotTables — and the @clean-data skill checks more of them than the Clean Data button.

If a total has ever looked almost right, you know how unsettling that is. This guide works through the seven mistakes behind most of those moments, following our pillar guide on how to use Copilot Clean Data in Excel, inside our wider AI for Excel and data guide.

Mistakes 1 and 2: numbers that are not really numbers

A value can look numeric, sit in the right column, and still be stored as text.

Mistake 1 is numbers stored as text. Microsoft warns that numbers stored as text can cause unexpected results, such as an uncalculated formula showing instead of a result. They often arrive when data is imported, or typed into text-formatted cells. The clues are gentle: the value sits left-aligned, and a small green triangle may appear in the cell’s upper-left corner. Microsoft’s fixes are to select the flagged cells, open the error indicator and choose Convert to Number, or to use the VALUE function in a new column, which returns just the numeric value of the text. Mistake 2 is a column that mixes the two. Clean Data describes inconsistent number format as a column containing a mix of Text and Number formatted cells, and warns that this could result in incorrect calculations.

Close view of a hand pointing at a row on a printed spreadsheet grid lying flat on a wooden desk, with more printed data sheets and a pen lying flat beside it
Illustration (AI-generated)

Mistakes 3 and 4: invisible differences that split one value into two

Excel matches values exactly, so a stray space or a capital letter creates a second category.

Mistake 3 is extra spaces. Clean Data’s third suggestion type covers unnecessary spaces in the inspected table — leading spaces at the start of a value, trailing spaces at the end, and between-values spaces doubled in the middle. You cannot see most of them, but a lookup can: a value with a trailing space is not the same text as one without, so an exact match fails though both cells look identical. Mistake 4 is inconsistent text. Microsoft describes this as variations across the same value: a column mixing uppercase and lowercase text, or cells differing in punctuation or diacritics. Microsoft warns these situations can cause wrong aggregations, because a PivotTable or summary formula treats each spelling as its own item. One product or region quietly becomes two or three smaller ones, and every subtotal inherits the split.

Mistakes 5, 6 and 7: rows counted twice, dates that disagree, and the wrong type entirely

These three distort summaries rather than single formulas, so the error spreads further.

Mistake 5 is duplicate values. The @clean-data skill checks for duplicate values, and Microsoft’s separate guidance explains that a duplicate value is one where all values in the row exactly match another row. Left in place, a repeated row is counted every time it appears, so counts and PivotTable totals run high. Microsoft also warns that Remove Duplicates permanently deletes duplicate data, so copy the original range to another sheet first — review first, delete second. Mistake 6 is inconsistent dates, including dates stored as text. Microsoft notes dates can become stored as text when entered into text-formatted cells or imported or pasted from an external source as text; like text numbers, they sit left-aligned. For text dates with two-digit years, Error Checking can convert them to date-formatted dates, and DATEVALUE converts most other text dates, returning the serial number Excel stores dates as so they can be used in calculations. Mistake 7 is values stored as the wrong data type altogether. This is the skill’s broadest category. A wrong type rarely breaks one formula neatly — it makes sorting, grouping and summarising behave inconsistently across the whole table.

Side view of a woman reviewing a laptop lying flat on a desk, its screen showing an abstract grid of plain coloured cells, a stack of printed data sheets and a notebook lying flat beside the laptop
Illustration (AI-generated)

Know which cleaner you are actually using, because they do not check the same things

The Data tab button covers three fault types; the @clean-data skill covers six.

Here is the distinction readers often miss. The Clean Data button on the Data tab, in the version Microsoft documents, offers exactly three suggestion types: inconsistent text, inconsistent number formats and extra spaces — mistakes 2, 3 and 4 above. The separate @clean-data skill, invoked by typing @ followed by the skill name in a prompt to Copilot, checks a wider set: extra spaces, inconsistent text and number formats, inconsistent dates, duplicate values and values stored as the wrong data type. It explains what it found and why it matters, then proposes corrections, and you review and select which changes to apply. Microsoft adds that the skill is enabled by default and rolling out, so it may not be available for every customer yet. If duplicates or dates are your problem, the button alone will not find them — a point our comparison of Copilot in Excel and Power Query also raises.

What this means

A wrong total is rarely a formula problem — it is usually a trust problem hiding in the data.

Start with the feeling, because it is a familiar one. You have checked the formula twice. The ranges are right, the brackets are right, and still the number on screen does not match the number you expected. That moment is genuinely stressful, especially when someone is waiting on the answer and quietly wondering whether the spreadsheet — or the person driving it — can be trusted. These seven mistakes explain why that moment happens so often, and in our view they carry a reassuring lesson: the arithmetic was probably fine all along. The data underneath it was not.

That distinction changes what you do next. If you assume the formula is guilty, you rewrite working formulas, add checks on checks, and still get the same wrong answer, because the text number, trailing space or duplicated row is still sitting there. If you suspect the data first, the fix is calmer and shorter: scan for green triangles, look for values hugging the left of their cells, ask whether one name appears in two spellings, and whether a row might be in the table twice. Minutes of that looking repair what an hour of formula surgery cannot.

It also changes how you feel about tools like Clean Data and the @clean-data skill. They are not magic, and they do not remove your judgement — both leave the final decision with you, which is exactly right, because two identical rows can be an accident or two genuine orders. Their real value is eyesight. They notice the invisible space and the date stored as text that a tired eye, late in the day, will glide straight past. Used that way, as a second pair of eyes before a number leaves your desk, they protect something more valuable than a total: your confidence that the next total will be right too.

Bottom line

Check the data before you blame the formula — seven small faults explain most wrong answers.

Work through the list in order: convert text numbers, unify mixed formats, strip extra spaces, settle on one spelling per value, review duplicates before removing any, and convert text dates. Then choose the right cleaner — the button for spaces, text and number formats, the @clean-data skill when dates, duplicates and types are also in play — and recheck your totals.

Frequently Asked Questions

Can the Clean Data button remove duplicate rows in Excel?

No. Microsoft lists only three suggestion types for the Data tab Clean Data button: inconsistent text, inconsistent number formats and extra spaces. Duplicate values are checked instead by the separate @clean-data skill, which explains what it found and proposes corrections for you to review and select before anything changes in your workbook.

Is using Remove Duplicates in Excel permanent?

Yes. Microsoft says that when you use the Remove Duplicates feature, the duplicate data is permanently deleted, and only the selected range or table is affected. Because of that, Microsoft advises moving or copying the original data to another worksheet first, so a mistaken removal does not cost you information you still need.

Does Clean Data work on very large spreadsheets?

No. Microsoft says Clean Data works best with tabular data of up to 100 columns and 50,000 rows, and that it works best when the data is formatted as an Excel table. Larger or loosely structured ranges sit outside that best-case guidance, so results there may be less complete than on a tidy, properly formatted table.

Does converting a text date with DATEVALUE change the date itself?

No. Microsoft explains that DATEVALUE converts a text date in a cell to a serial number, and that Excel stores dates as sequential serial numbers so they can be used in calculations. The calendar date stays the same; what changes is that Excel can finally sort, group and calculate with it properly.

Sources

{
“@context”: “https://schema.org”,
“@type”: “FAQPage”,
“mainEntity”: [
{
“@type”: “Question”,
“name”: “Can the Clean Data button remove duplicate rows in Excel?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “No. Microsoft lists only three suggestion types for the Data tab Clean Data button: inconsistent text, inconsistent number formats and extra spaces. Duplicate values are checked instead by the separate @clean-data skill, which explains what it found and proposes corrections for you to review and select before anything changes in your workbook.”
}
},
{
“@type”: “Question”,
“name”: “Is using Remove Duplicates in Excel permanent?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Yes. Microsoft says that when you use the Remove Duplicates feature, the duplicate data is permanently deleted, and only the selected range or table is affected. Because of that, Microsoft advises moving or copying the original data to another worksheet first, so a mistaken removal does not cost you information you still need.”
}
},
{
“@type”: “Question”,
“name”: “Does Clean Data work on very large spreadsheets?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “No. Microsoft says Clean Data works best with tabular data of up to 100 columns and 50,000 rows, and that it works best when the data is formatted as an Excel table. Larger or loosely structured ranges sit outside that best-case guidance, so results there may be less complete than on a tidy, properly formatted table.”
}
},
{
“@type”: “Question”,
“name”: “Does converting a text date with DATEVALUE change the date itself?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “No. Microsoft explains that DATEVALUE converts a text date in a cell to a serial number, and that Excel stores dates as sequential serial numbers so they can be used in calculations. The calendar date stays the same; what changes is that Excel can finally sort, group and calculate with it properly.”
}
}
]
}

Ashbeel Azhar

Founder & Editor — Titans Infos

Ashbeel Azhar is the Founder and Editor of Titans Infos. He leads the site's coverage of artificial intelligence, consumer technology, privacy & security and tech business, and is responsible for its editorial standards, including fact-checking, sourcing and corrections.