+ Reply to Thread
Results 1 to 5 of 5

Sum not allowed due to Text Type (When not Text Type)

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Sum not allowed due to Text Type (When not Text Type)

    Hey all, about to pull my hair out here!

    I have this happen all the time and I never can quite figure out what is going on. I have a simple pivot table, with numbers in the columns. I need to sum them but it it telling me they are text. There are no blanks, no other data, it is formatted as numbers. What am I missing? This happens now and then randomly.

    Attached sample.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sum not allowed due to Text Type (When not Text Type)

    You have "-" in row 443 of your data.
    This is text and cannot be added in a pivot table.

  3. #3
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Sum not allowed due to Text Type (When not Text Type)

    OMG I looked for that but missed it. Thank you! I feel stupid lol.

    This is exactly why I am redoing a lot of forms other people made/use. There are a lot of inconsistencies in how the data was entered (ie 0 or -)

    How did you find that so fast, I could have sworn I did a find replace for dashes to zeroes, but maybe I thought I did, but did not.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sum not allowed due to Text Type (When not Text Type)

    Happy to help! Thanks for the rep.

    Note that a pivot table that does not come from the data model would not have this issue, it just wouldn't show 9/5/2022 at all.

  5. #5
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Sum not allowed due to Text Type (When not Text Type)

    Quote Originally Posted by 63falcondude View Post
    Happy to help! Thanks for the rep.

    Note that a pivot table that does not come from the data model would not have this issue, it just wouldn't show 9/5/2022 at all.
    Man, Data model causes so many issues, I use it because I need distinct counts almost always and I don't know of a "good" way to get them without using Data model's built in distinct count.

+ 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. [SOLVED] Count different type of text and give me text and sum of numbers
    By Mariaoskars in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 04-10-2022, 09:08 AM
  2. Have the text which appears on a WebPage like Save As, Type Text with IE not HTML code?
    By regismaltais in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2021, 09:00 PM
  3. Replies: 2
    Last Post: 04-24-2013, 01:36 PM
  4. Text to Columns (changing data type to text)
    By rasikvekaria in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-17-2013, 05:44 PM
  5. [SOLVED] "Run-time error '13': type mismatch when running macro to add text to end of text
    By nrjordan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2012, 10:34 PM
  6. Replies: 0
    Last Post: 06-07-2012, 03:02 PM
  7. [SOLVED] I want to type a text in a cell, but I want that text to represen.
    By ExcelQ in forum Excel General
    Replies: 1
    Last Post: 01-21-2005, 04:06 PM

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