+ Reply to Thread
Results 1 to 5 of 5

Pivot table with data model wont sum the numbers - say its text but there are only numbers

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    Bradford, England
    MS-Off Ver
    2019
    Posts
    43

    Pivot table with data model wont sum the numbers - say its text but there are only numbers

    Hi all,

    I have an issue with the pivot table and using the data model.

    I need to use the data model for the distinct count and but it wont let me sum the columns and says it only recognises the numbers as text even though there are only numbers in the columns.

    I am trying to convert all the columns in the pivot table in 0.REPORT sheet to sum with the exception of the No. of Orders column but the following error keeps coming up:

    "We can't summarise this field with Sum because its not a supported calculation for text data types"

    FOR CONTEXT: This pivot table pulls the data from the Purchase Order Sheet which pulls the original data from the Analysis sheet. The Purchase order sheet is there as a helper so all the product items can be listed on seperate rows rather than all the same row which is what it is on the Analysis sheet.

    Can someone please help - this is the final hurdle to completing my spreadsheet which I have worked a month on with great help from people on the forum.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Pivot table with data model wont sum the numbers - say its text but there are only num

    The problem is the formula you used: IFERROR(.....,"") - the double-quotation creates texts.

  3. #3
    Registered User
    Join Date
    11-10-2014
    Location
    Bradford, England
    MS-Off Ver
    2019
    Posts
    43

    Re: Pivot table with data model wont sum the numbers - say its text but there are only num

    Hi I remove the double quotation on all those columns but the problem still remains the same. Can you share the solution on the spreadsheet example I sent so I can see what you have done that it works because Ive tried it and it doesnt. Thanks

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Pivot table with data model wont sum the numbers - say its text but there are only num

    Column AA of Purchase Order sheet - change IFERROR(......,"") to IFERROR(......,0), then refresh your PivotTable.

    You can now SUM column C of the PivotTable.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-10-2014
    Location
    Bradford, England
    MS-Off Ver
    2019
    Posts
    43

    Re: Pivot table with data model wont sum the numbers - say its text but there are only num

    brilliant - just releaised on row 3000 the formula doesnt go all the way to the bottom which is why it didnt work the first time as well many thanks it works now

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using a Mac, numbers in pivot table changing to text over time
    By swasserman in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 04-10-2020, 08:02 AM
  2. [SOLVED] Text box wont accept numbers
    By scott micklo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2016, 07:52 AM
  3. Need to convert pivot table numbers to text
    By dchu in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-03-2014, 02:51 AM
  4. text mixed in with numbers in pivot table columns.
    By td3201 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-24-2012, 12:54 PM
  5. Replies: 1
    Last Post: 04-15-2008, 01:59 AM
  6. [SOLVED] Sorting Numbers as Text in Pivot Table
    By Tod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2006, 05:10 PM
  7. [SOLVED] Pivot Table keep apart cells text that I've formatted as numbers
    By Paulo Bevervanso in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-21-2005, 04:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1