+ Reply to Thread
Results 1 to 9 of 9

sumproduct with multiple criteria issue

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    sumproduct with multiple criteria issue

    hi there

    having some difficulty with sumproduct and multiple criterias.

    I have my revenue in column T "summary" sheet. I have the branch name in column "D" on summary sheet.

    In the "offer" sheet, i have the "offered" revenue range.

    in cell Y11 on the summary sheet, i would like to show what category the revenue falls under (cell range D8:I8 in offer sheet).

    basically, for example,
    Miami revenue = $80
    therefore, in offer sheet, $80 falls between $83-$75 (i.e. List1 and List2). however, it should read as <$80 & >= $75, thus it becomes list 2.

    I have attached a sample, if someone can pls help...ive been struggling for the half a day on this...pls and thxs.

    FYI: if the price is less than "list 5" which is the bare minimum, then put "Less than".
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: sumproduct with multiple criteria issue

    Hi

    First put 'Less Than in J8 on the Offer sheet.

    Then in Y11 on Summary copied down

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct with multiple criteria issue

    Quote Originally Posted by Richard Buttrey View Post
    Hi

    First put 'Less Than in J8 on the Offer sheet.

    Then in Y11 on Summary copied down

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

    thanks for your prompt response. the formula is not working for some odd reason; it keeps saying "not listed"
    in addition, there is no reference to the actual table in the offer sheet range D8:I13 (OFFSET(Offer!D$1:I$1,V11,0))

    also, V11 is an empty cell?

    if you can pls help. thx u

  4. #4
    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,946

    Re: sumproduct with multiple criteria issue

    maybe this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: sumproduct with multiple criteria issue

    hi jw01. maybe you can provide a few more answers you are hoping to see? i don't know if i got your logic right here:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: mine is an array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again
    Last edited by benishiryo; 09-18-2013 at 11:02 PM. Reason: additional info

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  6. #6
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct with multiple criteria issue

    Quote Originally Posted by benishiryo View Post
    hi jw01. maybe you can provide a few more answers you are hoping to see? i don't know if i got your logic right here:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    hello guys

    thanks for the response however the formula is showing only "less than" etc.

    to give another example, pls see below:
    cell T16 (summary sheet) = $101.00 for New York (cell D16)
    therefore, in the offer sheet i.e. range C9:I9 = new york
    so $101 falls between $102-$96 or list 2 and list 3 (e.g. <102 & >=96), so the answer = list 4.

    hope that makes sense?

    thank u and thxs for your help; ive been on this for an entire day and getting no where
    Last edited by jw01; 09-18-2013 at 11:12 PM.

  7. #7
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct with multiple criteria issue

    Branch Large deal List 1 List 2 List 3 List 4 List 5
    New York $150 $120 $108 $102 $96 $90

    in the above, the data should be seen as:

    1) large deals are GREAT THAN EQUAL to i.e. >=$150
    2) List 1: less than 150 and great than equal to 120
    3) list 2: less than 120 and greater than equal to 108
    4) list 3: less than 108 and greater than equal to 102
    5) list 4: less than 102 and greater than equal to 96
    6) list 5: less than 96 and greater than 90
    7) LESS THAN: less than 90

    hope that makes more sense?

  8. #8
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct with multiple criteria issue

    Quote Originally Posted by jw01 View Post
    hello guys

    thanks for the response however the formula is showing only "less than" etc.

    to give another example, pls see below:
    cell T16 (summary sheet) = $101.00 for New York (cell D16)
    therefore, in the offer sheet i.e. range C9:I9 = new york
    so $101 falls between $102-$96 or list 2 and list 3 (e.g. <102 & >=96), so the answer = list 4.

    hope that makes sense?

    thank u and thxs for your help; ive been on this for an entire day and getting no where
    Hello guys

    OMG it works

    thank you to benishiryo!!!!!!
    Last edited by jw01; 09-18-2013 at 11:22 PM.

  9. #9
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct with multiple criteria issue

    hey guys

    one final request:

    would it be possible to count by "unique" party # in column G - see attached workbook.

    for example, if G11 and G15 have same party #, therefore in Y15 = "repeat"?

    is that possible?
    Attached Files Attached Files

  10. #10
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: sumproduct with multiple criteria issue

    glad to help. it's actually better if you start a new thread for a new question. and it's always good to type in manually what you wish to see because i can't link your unique count & "repeat" in Y15 together. unique count would be:
    =SUMPRODUCT(1/COUNTIF(G11:G17,G11:G17))
    that will give 6 counts

    for "repeat" to be in Y15, try this in Y11 & copy down:
    =IF(COUNTIF(G$11:G11,G11)>1,"Repeat","")

+ 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. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  2. sumproduct issue with multiple criteria
    By jw01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 04:25 PM
  3. SUMPRODUCT Issue - Need to calculate weighted average of multiple ranges
    By arcobalt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2012, 04:55 PM
  4. Replies: 6
    Last Post: 10-30-2012, 02:35 PM
  5. Replies: 5
    Last Post: 04-20-2012, 08:54 AM

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