+ Reply to Thread
Results 1 to 4 of 4

Pivot table won't allow to sum by Cost

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,722

    Pivot table won't allow to sum by Cost

    I have imported data using Data < new Query >from File , from CSV

    I then tried to set up a Pivot table and when trying to sum the cost , I get an error-see screen shot attached


    I have attached my raw data as well as the data which I imported as well as the pivot Table


    It would be appreciated if someone can assist me on how to get the sum to work on the "cost" field. It is current showing as count, but need to change this to sum, which It will not allow me to do
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Pivot table won't allow to sum by Cost

    It says it's of type text - have you tried changing to column type to number?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,722

    Re: Pivot table won't allow to sum by Cost

    Thanks Ali. I added it to the data model and changed the data format to decimal number

    It works perfectly now

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Pivot table won't allow to sum by Cost

    Fab.

+ 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. Pivot Table for the total cost
    By subodhsapkota in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2019, 11:19 PM
  2. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  3. [SOLVED] count cost from one tab into a table in another tab
    By C0sm0s in forum Excel General
    Replies: 5
    Last Post: 08-18-2016, 09:42 AM
  4. Creating a cost and revenue pivot. Gross margins % possible?
    By thedon_1 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-03-2013, 06:45 PM
  5. Pivot table for organizing cost as a % of total per month
    By amartino44 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-17-2013, 04:49 PM
  6. building a pivot table to see total cost
    By sjhill60 in forum Excel General
    Replies: 1
    Last Post: 10-20-2011, 01:46 AM
  7. Grouping Revenue,Cost,Profit Data (Pivot Table 2007)
    By easycapital in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-01-2008, 08:56 AM

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