+ Reply to Thread
Results 1 to 7 of 7

=SUMIFS Function - mutliple criteria

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2007
    Posts
    80

    Post =SUMIFS Function - mutliple criteria

    I'm needing a little help in figuring out how to add a criteria for the formula below. Currently the formula is pulling totals I need for items that are labeled as "CAT", but now I also need items that are labeled as "Commercial" in the same column D from the Invoice Tracker Detail (....,'Invoice Tracker Detail'!$D:$D,"CAT")

    Or if it's easier then I just need to know how to exclude items labeled as "UW-CL", rather than having the formula looking for multiple items (CAT and Commericial).

    I've tried researching other posts but none of them give me straightforward way of how to go about this.

    =SUMIFS('Invoice Tracker Detail'!$L:$L,'Invoice Tracker Detail'!$B:$B,$A$3,'Invoice Tracker Detail'!$T:$T,">"&DATE(G$1-1,12,31),'Invoice Tracker Detail'!$T:$T,"<"&DATE(G$1+1,1,1),'Invoice Tracker Detail'!$E:$E,$A10,'Invoice Tracker Detail'!$D:$D,"CAT")+GETPIVOTDATA("CHECK AMOUNT",ALAE!$A$3,"VENDOR NAME","MASON CATASTROPHE CLAIM SERVICES","CHECK YEAR",2013)

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =SUMIFS Function - mutliple criteria

    Quote Originally Posted by tdsmith14 View Post
    (....,'Invoice Tracker Detail'!$D:$D,"CAT")

    Or if it's easier then I just need to know how to exclude items labeled as "UW-CL", rather than having the formula looking for multiple items (CAT and Commericial).
    To exclude items labeled as "UW-CL", try

    (....,'Invoice Tracker Detail'!$D:$D,"<>UW-CL")

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: =SUMIFS Function - mutliple criteria

    It worked. Thanks a bunch

  4. #4
    Registered User
    Join Date
    09-20-2012
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: =SUMIFS Function - mutliple criteria

    Out of curiosity if I wanted to just add multiple criteria as mentioned in the first half of my question by adding CAT and Commercial items to the formula how would I have done that?

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: =SUMIFS Function - mutliple criteria

    Below is what I was trying before, but didn't work.

    =SUMIFS('Invoice Tracker Detail'!$L:$L,'Invoice Tracker Detail'!$B:$B,$A$3,'Invoice Tracker Detail'!$T:$T,">"&DATE(G$1-1,12,31),'Invoice Tracker Detail'!$T:$T,"<"&DATE(G$1+1,1,1),'Invoice Tracker Detail'!$E:$E,$A10,'Invoice Tracker Detail'!$D:$D,{"CAT","Comercial"})+GETPIVOTDATA("CHECK AMOUNT",ALAE!$A$3,"VENDOR NAME","MASON CATASTROPHE CLAIM SERVICES","CHECK YEAR",2013)

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =SUMIFS Function - mutliple criteria

    That's close, put the whole sumifs formula inside a sum function..

    =SUM(SUMIFS(........,'Invoice Tracker Detail'!$D:$D,{"CAT","Comercial"},........))

  7. #7
    Registered User
    Join Date
    09-20-2012
    Location
    Jacksonville, FL
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: =SUMIFS Function - mutliple criteria

    O ok, understood. Thanks again.

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =SUMIFS Function - mutliple criteria

    You're welcome.

+ 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] SumIfs function in VBA with Date as one criteria
    By Bezzie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2013, 12:11 PM
  2. Sum rage = criteria range in sumifs function
    By mj1118888 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2013, 12:25 PM
  3. SUMIFS w/ multiple criteria and an or function
    By jacobkmc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2013, 09:22 PM
  4. SUMIFS function with calculated criteria
    By RollsWRangler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2013, 11:35 AM
  5. Sum Mutliple criteria Using the mid Function
    By kgibson20 in forum Excel General
    Replies: 6
    Last Post: 09-06-2011, 03:56 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