Skip to main content
by learnformula
Explore courses
search
For Business
Team license & compliance management
For Higher Education
Academic partnerships
For Government Agencies
Government training solutions
For Instructors & Course Creators
Teach on our marketplace
Become a Sponsor
Reach professionals where they learn
Log inStart 7-Day Free TrialStart Free TrialStart Free Trial
search
Explore courses
arrow_backBack to Latest Intelligence

Why Your PivotTable Says “Count” Instead of “Sum”

Billy Wigley•Nov 23, 2026•3 min read
Share
SIGN UP AND GET
10% OFF
Sign up for our newsletter and get 10% off your next purchase!
By subscribing, I agree to LearnFormula's email marketing. I can unsubscribe anytime. See Privacy Policy.

You’re closing out the month. You drop Invoice Amount into a PivotTable, expecting $3,500. Excel gives you 3.

Three dollars? Nope. Three invoices. Excel counted them instead of adding them.

Check the source before you change the total

Let’s say your invoice export has three amounts: $1,200, $800, and $1,500. They look like numbers, but Excel may have imported them as text. When Excel reads a field as text, it defaults to Count instead of Sum. Blanks or nonnumeric entries can also trigger Count when you add the field.

Changing Count to Sum won’t turn text into numbers. You can end up with a total that looks right at a glance but leaves some invoices out.

Excel PivotTable showing Count of Invoice Amount equal to 3

Before: Excel counts the three invoice amounts instead of adding them.

Fix it in three steps

  1. Check a few amounts in the source. Try =ISNUMBER(B2) in a spare column, using a cell that should contain an amount. If you get FALSE, Excel isn’t reading that cell as a number. Check a few rows, not just the first one.

    Excel formula bar shows =ISNUMBER(B2), while cell C2 shows FALSE because B2 is stored as text

    In the spare column, =ISNUMBER(B2) returns FALSE because the invoice amount is stored as text.

  2. Convert the amounts, not the invoice IDs. If Excel flags the amounts as numbers stored as text, select those cells and choose Convert to Number from the warning menu. Leave identifiers like 00042 alone. Those leading zeros may matter.

    Excel warning menu with Convert to Number highlighted for the Invoice Amount cells

    Select the invoice amounts, open the warning menu, and choose Convert to Number.

  3. Refresh and check the result. Refresh the PivotTable, then set Invoice Amount to Summarize Values By > Sum if it still shows Count. For this sample, the total should be $3,500. For your real report, check the result against the source export’s control total, if it has one.

    Excel PivotTable context menu showing Sum checked under Summarize Values By

    After refreshing, confirm that Sum is selected under Summarize Values By.

    Excel PivotTable showing Sum of Invoice Amount equal to 3500

    After: With the source amounts converted and the value field set to Sum, Excel shows 3500, or $3,500 in this example.

Count answers “How many invoices?” Sum answers “How much were they worth?” In this example there’s one row per invoice. If an invoice spans multiple rows, Count of Invoice Amount counts filled amount cells, not unique invoices.

Keep building your Excel skills

Visit my LearnFormula profile for more practical Excel articles and courses. For hands-on practice turning everyday data into reports, look for Excel Tables: Manage and Analyze Data Like a Pro. LearnFormula lists it for 1 CPD hour upon completion; check that it fits your professional development requirements.

Don’t Get Mad…Get Skills!

Tags:
  • FINANCIAL REPORTING
  • DATA ANALYSIS
  • MICROSOFT EXCEL
  • Data Quality
  • PIVOT TABLE