+ Reply to Thread
Results 1 to 3 of 3

Trying to use a sumifs function on a pivot table- Thank you for your help

  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    San Diego
    MS-Off Ver
    Excel 2010
    Posts
    36

    Unhappy Trying to use a sumifs function on a pivot table- Thank you for your help

    All I am trying to do is use a simple sumifs function on a pivot table, but I must be messing something up.

    I have attached the document. Sure its a simple mistake I am making.


    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Trying to use a sumifs function on a pivot table- Thank you for your help

    No need of Sumif() if the data is arrived from Pivot.

    Because Pivot will not output duplicate results and all the relevant data's are accumulated under unique values.

    Sumif() can be used when there is any similar data and we need the accumulated value of the data.

    So in this case the data came from Pivot source so there is no need of Sumif() and simple Vlookup() with Match() Or Index() with Match function is enough.

    =INDEX('Pivot GL Report'!A:K,MATCH(TRIM(B3),'Pivot GL Report'!A:A,0),MATCH(TRIM(C3),'Pivot GL Report'!4:4,0))

    Or

    =VLOOKUP(TRIM(B3),'Pivot GL Report'!A:K,MATCH(TRIM(C3),'Pivot GL Report'!4:4,0),0)

    Since your source data comparison Numbers are in Text so I used Trim() in the above formulas to convert real matching number to text.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Trying to use a sumifs function on a pivot table- Thank you for your help

    Also, sumifs() cannot be used to sum an ARRAY of columns, it can only sum a single column of data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Vlookup and sumifs or pivot table?
    By pccamara in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-18-2015, 12:09 PM
  2. [SOLVED] Sumifs formula referencing cell generated by slicer/pivot table
    By 3345james in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2015, 03:26 PM
  3. sumifs on a pivot table - compare range with range
    By pavlos in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 02:26 AM
  4. Some sort of sumifs to remove pivot table
    By benoj2005 in forum Excel General
    Replies: 3
    Last Post: 09-11-2012, 04:07 AM
  5. SUMIFs pivot table by column
    By emina002 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2012, 09:50 PM
  6. [SOLVED] Pivot Table Function
    By carl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2006, 02:10 PM
  7. [SOLVED] Pivot Table or Function??
    By jo74 in forum Excel General
    Replies: 1
    Last Post: 11-22-2005, 08:35 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