+ Reply to Thread
Results 1 to 6 of 6

SUMIF with Mutiple Ranges & Criteria

  1. #1
    Registered User
    Join Date
    05-18-2005
    Posts
    60

    SUMIF with Mutiple Ranges & Criteria

    I'm doing a sales report and have a single sheet with all my call/result metrics on it.

    I want to use SUMIF (I think ) to calculate the cells in a particular column if a cell in a specific column has a specific text entry as well as a different text entry in another column (the two columns are region and district). I know how do do a single range/criteria in a SUMIF statement, but I don't know how to add multiple SUMIF range/criterias.

    So basically here is what I am looking for:

    Sum a particular column G if column F equals "East Enterprise" and column V equals "CSI".

    I am currently breaking these out in a pivot table and adding a seperate sheet to the report, then doing a sumif statement on the columns I need but I know there has to be a way to do it in a single formula, it is just beyond my grasp.

    Also, if this makes no sense whatsoever, FLAME away... that just may be the movitation I need today.

    Humbly,

    PokerZan

  2. #2
    Bob Phillips
    Guest

    Re: SUMIF with Mutiple Ranges & Criteria

    =SUMPRODUCT(--(F2:F100="East Enterprise"),--(V2:v100="CSI"),G2:G100)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "PokerZan" <PokerZan.1t91uo_1123175121.4106@excelforum-nospam.com> wrote in
    message news:PokerZan.1t91uo_1123175121.4106@excelforum-nospam.com...
    >
    > I'm doing a sales report and have a single sheet with all my call/result
    > metrics on it.
    >
    > I want to use SUMIF (I think ) to calculate the cells in a
    > particular column if a cell in a specific column has a specific text
    > entry as well as a different text entry in another column (the two
    > columns are region and district). I know how do do a single
    > range/criteria in a SUMIF statement, but I don't know how to add
    > multiple SUMIF range/criterias.
    >
    > So basically here is what I am looking for:
    >
    > Sum a particular column G if column F equals "East Enterprise" and
    > column V equals "CSI".
    >
    > I am currently breaking these out in a pivot table and adding a
    > seperate sheet to the report, then doing a sumif statement on the
    > columns I need but I know there has to be a way to do it in a single
    > formula, it is just beyond my grasp.
    >
    > Also, if this makes no sense whatsoever, FLAME away... that just may be
    > the movitation I need today.
    >
    > Humbly,
    >
    > PokerZan
    >
    >
    > --
    > PokerZan
    > ------------------------------------------------------------------------
    > PokerZan's Profile:

    http://www.excelforum.com/member.php...o&userid=23480
    > View this thread: http://www.excelforum.com/showthread...hreadid=392980
    >




  3. #3
    Registered User
    Join Date
    05-18-2005
    Posts
    60
    Thanks Bob,

    It did the trick!

    One quick question though, what do the "--" do before the parentheses do?

    PZan

  4. #4
    Registered User
    Join Date
    05-18-2005
    Posts
    60
    And the questions never stop... :P

    There are about 7 different options that could be in column V, I am only looking to extract "CSI", the others I want to add up the other 6 options...

    So is there an way to add up all that DON'T say "CSI" in column V?

    Thanks,
    PZan

  5. #5
    Bob Phillips
    Guest

    Re: SUMIF with Mutiple Ranges & Criteria

    Yeah, straight-forward

    =SUMPRODUCT(--(F2:F100="East Enterprise"),--(V2:v100<>"CSI"),G2:G100)

    for the low-down on --, take a look at
    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "PokerZan" <PokerZan.1t9a6w_1123185952.1391@excelforum-nospam.com> wrote in
    message news:PokerZan.1t9a6w_1123185952.1391@excelforum-nospam.com...
    >
    > And the questions never stop... :P
    >
    > There are about 7 different options that could be in column V, I am
    > only looking to extract "CSI", the others I want to add up the other 6
    > options...
    >
    > So is there an way to add up all that DON'T say "CSI" in column V?
    >
    > Thanks,
    > PZan
    >
    >
    > --
    > PokerZan
    > ------------------------------------------------------------------------
    > PokerZan's Profile:

    http://www.excelforum.com/member.php...o&userid=23480
    > View this thread: http://www.excelforum.com/showthread...hreadid=392980
    >




  6. #6
    Registered User
    Join Date
    05-18-2005
    Posts
    60
    Wow, great site, thanks a ton!

+ 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