+ Reply to Thread
Results 1 to 4 of 4

Match all three to equal name

Hybrid View

  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    US
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Match all three to equal name

    Excel Wizards,

    I am looking for some sort of formula that gives an output if met under three conditions.

    I have attached an example. I would like to show the name of the animal if the type, age, and legs match. Your help will be greatly appreciated. Thank you.EXCELHELP.xlsx

    -Rachel

  2. #2
    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
    53,048

    Re: Match all three to equal name

    Hi and welcome to the forum

    You didnt say where you will be putting the search criteria, so I used F1:H1.

    There are (at least) 2 ways of doing this.

    1. If you have lots of data, use this method. Add a helper column (I used E, use whatever you want, and you can hide it if you want), and copy this down...
    =A2&B2&C2
    Then, whereever you want the answer to be, use this...
    =INDEX(D2:D5,MATCH(F1&G1&H1,E2:E5,0))

    2. If you dont have a lot of data, you can se this ARRAY formula, which does away with the helper column, but could slow things down if you have lots of data...
    =INDEX(D2:D5,MATCH(F1&G1&H1,A2:A5&B2:B5&C2:C5,0))
    ...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.
    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

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Match all three to equal name

    and another normally entered
    =INDEX(D2:D100,MATCH(F1&G1&H1,INDEX(A2:A100&B2:B100&C2:C100,0),0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    09-04-2013
    Location
    US
    MS-Off Ver
    EXCEL 2010
    Posts
    4

    Re: Match all three to equal name

    Wow, thank you so much!

+ 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] Match letter to table in another tab to equal word
    By unclejemima in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-24-2013, 06:17 PM
  2. Replies: 17
    Last Post: 12-05-2012, 09:01 PM
  3. [SOLVED] Using Index/Match (Equal or less than) with Multiple Criteria
    By Padal in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 05:10 PM
  4. Odd Behaviour - Can't match.. 2 cells equal, not exact? why?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2011, 12:06 PM
  5. match The values that are opposite and not equal
    By samn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-12-2011, 02:41 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