+ Reply to Thread
Results 1 to 2 of 2

Total for Calculated Field not adding up

  1. #1
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Total for Calculated Field not adding up

    System generated ageing report if a invoice is 0-30 days, it pull the invoice amount in the respective column and a 0 in other column. I need to see each supplier has how many invoice is overdue 30 days, 60 days etc.
    HOwever, due to the 0, Pivot table would include it when i subtotal using Count. Hence i insert calculated field. which is =if(' 30 Days"=0,0,1). However, when i use the sum subtotal for the Calculated field, it keep showing 1 despite having more than one's 1 above. Why is this so?
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,907

    Re: Total for Calculated Field not adding up

    Your calculated field calculates as:

    =if(SUM(' 30 Days")=0,0,1)

    For the grand total, it will not change and sum up the 1s and 0s above it, it will apply the same formula, so your result will only ever be 1 or 0. You;d need Power Pivot to do something different for the grand total line.
    Rory

+ 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. Replies: 1
    Last Post: 01-15-2019, 08:54 PM
  2. Pivot Table: Calculated Field based on Running Total Field
    By EvolvingMonkey in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-07-2016, 06:27 AM
  3. Replies: 0
    Last Post: 08-15-2016, 02:07 PM
  4. Different formula in calculated field's total row
    By Momigi in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-17-2016, 05:44 AM
  5. Calculated Field as Row Total ?
    By amphinomos in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-26-2014, 09:38 AM
  6. Replies: 0
    Last Post: 10-24-2013, 10:59 AM
  7. Calculated Field (?) in Sub Total?
    By amsnss in forum Excel General
    Replies: 0
    Last Post: 01-10-2012, 11:48 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