+ Reply to Thread
Results 1 to 11 of 11

Sumif with 2 extra criterias in Excel 2003

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Sumif with 2 extra criterias in Excel 2003

    Hi,

    I need to find a Sumif formula compatible whith Excel 2003 with 2 or 3 criterias:
    sumif.jpg

    The basic formula is
    =SUMIF(ART_CollUnit;CALC_CollUnit;ART_FcstO30M)

    ART_CollUnit is the column C
    CALC_CollUnit is the criteria (egg TCFR08)
    ART_FcstO30M is the column X for conditional sum.

    However, I also need to select a criteria in column A and B (egg "01" and "1. TRADE")

    I can't find a solution based on sumif and AND, MATCH, IF...

    Thank you for your help.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sumif with 2 extra criterias in Excel 2003

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sumif with 2 extra criterias in Excel 2003

    thanks a lot!
    So fast...

    Let me try this.

  4. #4
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sumif with 2 extra criterias in Excel 2003

    OK.

    This does not work:
    =SUMPRODUCT(--($A$1:$A$1000="01");--($B$1:$B$1000="1. Trade");--($C$1:$C$1000="tcfr08"))

    Lets me reformulate:

    I want to select 1 criteria in col A and 1 criteria in B, THEN compare a criteria in col C with the content of a dynamic cell (ex TCFR08) to sum the amounts of the column X.
    It is easy with only col C and X, but I don't know how to add the criterias of col A and B.

    Thanks again

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sumif with 2 extra criterias in Excel 2003

    Can you upload example workbook (not picture)?
    Make sure to avoid personal informations.

  6. #6
    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
    52,929

    Re: Sumif with 2 extra criterias in Excel 2003

    You did not say what happened when it did not work (error message - wrong total???)

    Maybe try replacing the ; with ,
    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

  7. #7
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sumif with 2 extra criterias in Excel 2003

    Dashboard v3.2.xls

    Please find the file attached

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sumif with 2 extra criterias in Excel 2003

    I still don't get it.
    Where you:
    select a criteria in column A and B (egg "01" and "1. TRADE")
    ?

  9. #9
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sumif with 2 extra criterias in Excel 2003

    The trick here is to replace the sumifs from excel2007 by something like sumproduct.
    Dashboard v3.2.xls

    Example:
    I want to sum col Y (O30) if 3 conditions are here
    - Col A="01"
    - Col B="A"
    - Col C=dynamic cell B1 in the tab CALC

    I hope I'm clear enough

  10. #10
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Sumif with 2 extra criterias in Excel 2003

    Something like this:
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    04-17-2014
    Location
    MADRID
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sumif with 2 extra criterias in Excel 2003

    I found the solution!

    =SUMPRODUCT(--('AR Tracking'!$A$3:$A$10000="01");--('AR Tracking'!$B$3:$B$10000="1. TRADE");--('AR Tracking'!$C$3:$C$10000=CALC!BB1);'AR Tracking'!$Y$3:$Y$10000)

    Thanks to this youtube tutorial:
    https://www.youtube.com/watch?v=vxpeEf8MYaY

+ 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] excel, how do I get sumif with two criterias?
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  2. [SOLVED] excel, how do I get sumif with two criterias?
    By Mosqui in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  3. excel, how do I get sumif with two criterias?
    By Mosqui in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  4. [SOLVED] excel, how do I get sumif with two criterias?
    By Mosqui in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  5. [SOLVED] excel, how do I get sumif with two criterias?
    By Mosqui in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-17-2005, 06:05 AM

Tags for this Thread

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