+ Reply to Thread
Results 1 to 11 of 11

SUMPRODUCT with Multiple Criteria

  1. #1
    Forum Contributor
    Join Date
    04-19-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    180

    SUMPRODUCT with Multiple Criteria

    Hi

    I've looked online for help but not having any joy with exactly my problem which I am now tackling a different way.

    I am trying to match candidate names and then also count how many of them (ie. matched candidates only) have a score of e.g. >1

    I can match the candidates but am struggling to do a count of how many have a score of e.g. >1 because I am comparing 3 columns.

    So I need to match the WHARFEDALE candidates with the AIREDALE candidates first, and then I need to count how many of the WHARFEDALE candidates have a score >1 AND/OR how many AIREDALE candidates have a score >1. The AIREDALE candiates get 2 'tries' so a score >1 in either try will add to the counter. I DON'T need a score >1 in all three columns D, I, K. Only a score >1 in D + score >1 in EITHER column I, K. Also don't need a repeat count if score is >1 in all three columns D,I,K.

    Could somebody let me know if there is an easy way of doing this in Excel .... my file is attached.

    TIA
    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

    Hi

    Would you manually add the results you expect, presumably in N4:N6 and then explain how you have calculated the results, referencing all the cells which have contributed to the results.
    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
    04-19-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: SUMPRODUCT with Multiple Criteria

    Hi Richard

    Thanks for the reply.

    If I've understood you correctly the initial data in columns B,G,C,H,J is manually added yes. I just then need to do a match of names and the scores >1 as explained in Post1.

  4. #4
    Forum Contributor
    Join Date
    04-19-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: SUMPRODUCT with Multiple Criteria

    If this would be easier to do in VBA I'd appreciate it if someone could let me know.

    Not sure an EXCEL function can handle all that I need here?

  5. #5
    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

    Quote Originally Posted by technik View Post
    Hi Richard

    Thanks for the reply.

    If I've understood you correctly the initial data in columns B,G,C,H,J is manually added yes. I just then need to do a match of names and the scores >1 as explained in Post1.
    Sorry, but it's because I don't understand from your post #1 what results you want in N4:N6 that I asked for specific clarification.
    Please upload the workbook, manually add the results to N4:N6 and explain by referencing the specific cells that contribute to the results.

    Remember that when you ask a question in a forum those of us who might be able to help know absolutely nothing about your system and work process or the terminology you use. Whilst these things are second nature to you since you live with the workbook all the working day we start with zero knowledge so you need to take us by the hand and explain in quite precise detail your aims and goals as well as stuff like how your data might look different in other situations.
    Don't assume we are able to "figure it out". We're usually quite good but not prescient.

    Put yourself in our position and think about whether what you've posted makes sense and is unambiguous to someone who's never seen it before.
    You are asking us for help so help us to be able to help you by providing all the information we need, even if that information seems obvious or intuitive to you.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: SUMPRODUCT with Multiple Criteria

    Like Richard, I don't really follow what you want... but here's a wild guess.

    If it's wrong (and it probably will be), please explain FULLY how results are meant to be calculated...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Forum Contributor
    Join Date
    04-19-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: SUMPRODUCT with Multiple Criteria

    Hi Richard / Glenn

    Apologies - I think I am probably guilty of assuming that the problem is (or I think it is) relatively straight forward for guys like yourself but clearly I haven't explained it well enough.

    All I am trying to do is do a count of matching candidates that have a score of >1 (using the helper 'score' columns) in BOTH groups.

    So for e,g,

    Alberta Wilson has a score of 3 in WHARFEDALE and has a score of 2 and 3.66 for AIREDALE (because AIREDALE get two tries). So she would count as she has a score of >1 in WHARFEDALE and a score >1 in AIREDALE on EITHER tries (only needs >1 in AIREDALE on either of the tries i.e. 1st try or 2nd try - doesn't have to be >1 in both tries for AIREDALE)

    However if you look at Emma Maldonado .... she has a score of 1 for WHARFEDALE and a score of 2.66 (1st try) and 3 (2nd try) for AIREDALE. So she WOULDN'T count as she didn't score >1 in WHARFEDALE.

    And so on for all matching candidates.

    I hope it's a bit clearer. I've uploaded the sheet again (as some repeat names crept in the WHARFEDALE group).

    Sorry Glenn that doesn't work. There are only 27 candidates in WHAREDALE group so the MAX matching candidates could only ever be 27 therefore the max count would be 27. But your formula is returning 40 but appreciate that I probably didn't do a good job of explaining things initially.
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: SUMPRODUCT with Multiple Criteria

    Aha. I assumed that you wanted a score for everyone, irrespective of which list they were on. Back to the drawing board...

  9. #9
    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

    Does the attached help

    I've added three helper columns so that you can better see the idea, but then put them all together in a composite helper column so that you can dispense with the three working columns.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    04-19-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: SUMPRODUCT with Multiple Criteria

    Hi Richard ... think that does it, thanks a lot. Didn't think it would need so many helper columns ! .... so I working on a VBA solution but think this does it.

    Thanks again!

  11. #11
    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

    Maybe you missed the point I was making.

    You can delete the three helper columns leaving just the last composite helper column.

    The three columns were just intermediate working steps. The composite helper column incorporates all three formulae

+ 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. Combine sumif/sumproduct or sumproduct with multiple criteria
    By sab128 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2018, 08:25 AM
  2. [SOLVED] Sum based on multiple criteria using sumproduct: One criteria is 'cell contains'.....
    By jeroenv in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2018, 08:18 AM
  3. [SOLVED] SUMPRODUCT of multiple columns with multiple criteria over multiple sheets
    By BellyGas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 08:27 AM
  4. [SOLVED] Multiple criteria SUMPRODUCT (3 criteria) Excel 2003
    By lelrich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2014, 01:58 PM
  5. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  6. Replies: 5
    Last Post: 04-20-2012, 08:54 AM
  7. Sumproduct/sumif/indirect across multiple workbooks, worksheets, multiple criteria
    By robgardner15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2011, 02:35 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