+ Reply to Thread
Results 1 to 2 of 2

Create a new table that sums all the LeaveTypes

  1. #1
    Registered User
    Join Date
    10-21-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Create a new table that sums all the LeaveTypes

    Hello all,
    I've been searching the forum for some guidance but can't find exactly what is stumping me... any ideas?

    I have a pivot table containing names and values, from that I want to sum together the total based upon both the name and a string value.
    Here is an example:

    Pivot1
    LeaveType Matt Mark Luke John
    sick 1
    sick 3
    annual 3
    public 1
    public 1
    public 1
    sick 2

    I want to create a new table that sums all the LeaveTypes for the staff but it needs to be dynamic.

    I have tried lots of combinations, the closest I get is:
    =SUMIF(Pivot!A2:A1117,"sick",OFFSET(Pivot!A2,1,(MATCH(B5,Pivot!$A$2:$BA$2,0))):OFFSET(Pivot!A2,1117,(MATCH(B5,Pivot!$A$2:$BA$2,0))))
    (where B5 = "Matt")

    Any suggestions would be greatly appreciated before I pull my hair out!!!

    Thanks

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Create a new table that sums all the LeaveTypes

    Hi and welcome
    your question is not very clear. At first glance you can do all this with the existing Pivot Table?
    Perhaps post a sheet with your data and what you need?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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