+ Reply to Thread
Results 1 to 13 of 13

Finding an exact match from multiple options

  1. #1
    Registered User
    Join Date
    07-07-2014
    Location
    usa
    MS-Off Ver
    office 2010
    Posts
    11

    Finding an exact match from multiple options

    Hello everyone... Hope you are all doing well...

    I'd like to ask for help with a formula to achieve the following:

    Column A has a unique identifier and column B will list a specific value (text)

    The formula will have to match the value in "A" against "T" where it will be listed about 8 times in a list, and match "B" against "U", again, where the list might have 8 options but only 1 will match "B"

    In other words, find A and B, and match both in a list in T and U, giving the value of column "V"


    Thank you for your time.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: Finding an exact match from multiple options

    Please attach a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-07-2014
    Location
    usa
    MS-Off Ver
    office 2010
    Posts
    11

    Re: Finding an exact match from multiple options

    Of course.
    Thank you
    Attached Files Attached Files
    Last edited by orion23; 02-19-2020 at 03:03 PM.

  4. #4
    Registered User
    Join Date
    02-19-2020
    Location
    Austin, Texas
    MS-Off Ver
    MS Office 2013
    Posts
    1

    Re: Finding an exact match from multiple options

    I think my question is similar to this one, If i'm understanding Orion's question.

    I have a list of people. Each person has a number associated with their name. I need the top 10 people but I have 2 people at 49 and 2 people at 46. In the attachment, I have a formula that pulls the top 10 people by their score, and it shows Jackie twice, and Berg twice.

    How do I get it to show me Jackie and Jasmine both scored 49 and Berg and Michelle both scored 46?

    Thank you for any help you can provide.
    Attached Files Attached Files

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Finding an exact match from multiple options

    Administrative Note:

    Hello C.Yeti. Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Dave

  6. #6
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Finding an exact match from multiple options

    @orion please use this sumproduct formula in C2 and drag down

    =SUMPRODUCT((A2=$T$2:$T$41)*(B2=$U$2:$U$41)*$V$2:$V$41)
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  7. #7
    Registered User
    Join Date
    07-07-2014
    Location
    usa
    MS-Off Ver
    office 2010
    Posts
    11

    Re: Finding an exact match from multiple options

    That did it
    Thank you very much dosydos. I really appreciate your help

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Finding an exact match from multiple options

    I get 0s past 'Black' with dosydos's.

    and these all results with
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    or not so volatile
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    A
    B
    C
    D
    E
    1
    ID
    color
    dd's
    FF offset
    FF I:sect
    2
    123456
    blue
    1
    1
    1
    3
    234567
    green
    10
    10
    10
    4
    345678
    yellow
    19
    19
    19
    5
    456789
    white
    28
    28
    28
    6
    567890
    black
    37
    37
    37
    7
    orange
    0
    38
    38
    8
    purple
    0
    39
    39
    9
    pink
    0
    40
    40

  9. #9
    Registered User
    Join Date
    07-07-2014
    Location
    usa
    MS-Off Ver
    office 2010
    Posts
    11

    Re: Finding an exact match from multiple options

    Thank you flameretired...
    I think the "0s" happen because there is no ID to match against so the result is "0", which is correct (for my needs)

    Problem I now have is that dosydos' formula is that it works with numbers but not with text

  10. #10
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Finding an exact match from multiple options

    try this array formula in C2 and drag down.
    Array formulas need to be entered with CTRL+SHIFT+ENTER. If done so correctly { } will be added around your formula.

    =INDEX($V$2:$V$41,MATCH(A2&B2,$T$2:$T$41&$U$2:$U$41,0))

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Finding an exact match from multiple options

    Would an alternative summary layout be of help?


    123456
    234567
    345678
    456789
    567890
    blue
    1
    9
    17
    25
    33
    green
    2
    10
    18
    26
    34
    yellow
    3
    11
    19
    27
    35
    white
    4
    12
    20
    28
    36
    black
    5
    13
    21
    29
    37
    orange
    6
    14
    22
    30
    38
    purple
    7
    15
    23
    31
    39
    pink
    8
    16
    24
    32
    40

  12. #12
    Registered User
    Join Date
    07-07-2014
    Location
    usa
    MS-Off Ver
    office 2010
    Posts
    11

    Re: Finding an exact match from multiple options

    Quote Originally Posted by dosydos View Post
    try this array formula in C2 and drag down.
    Array formulas need to be entered with CTRL+SHIFT+ENTER. If done so correctly { } will be added around your formula.

    =INDEX($V$2:$V$41,MATCH(A2&B2,$T$2:$T$41&$U$2:$U$41,0))
    Thank you once again. Your solution has worked as intended (my mistake for using #'s with the sample spreadsheet)

  13. #13
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Finding an exact match from multiple options

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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: 8
    Last Post: 08-06-2018, 12:26 PM
  2. [SOLVED] Finding first row containing an exact match to a target value
    By pongmeister in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-09-2018, 11:19 PM
  3. Replies: 2
    Last Post: 12-16-2016, 07:58 AM
  4. Replies: 4
    Last Post: 02-19-2013, 02:19 PM
  5. Finding the Big and Exact Match of Sample Data
    By hamijami in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2012, 08:55 AM
  6. Searching a list and finding the exact match from a sublist
    By Lattaio23 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-03-2012, 11:19 AM
  7. Finding an Exact Match
    By kent@romanoffco in forum Excel General
    Replies: 1
    Last Post: 10-02-2008, 10:59 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