Closed Thread
Results 1 to 3 of 3

Use VLOOKUP to search multiple criteria in any order

  1. #1
    Registered User
    Join Date
    05-18-2015
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    4

    Use VLOOKUP to search multiple criteria in any order

    Hi! I'm trying to use VLOOKUP to search for multiple criteria in a cell in any order. Here's an example of what I'm trying to do:

    C-E-R apples
    E-C-R oranges
    C-E guavas
    E-A-C pineapples
    C-R-A-E strawberries
    S-A-E toothpicks

    I want to be able to search "C" and "E", OR to search "E" and "C", and to produce the names of all the fruits no matter the order I put the letters in. I have a VLOOKUP CHOOSE formula that'll, if I look up "C" and "E", I'll get "apples", "guavas", and "strawberries", but not "pineapples" or "oranges". It's something like VLOOKUP(A2&A3,CHOOSE({1,2},B2:B10),1,FALSE) How can I modify what I have so that it produces the names of all the fruits?

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Use VLOOKUP to search multiple criteria in any order

    Duplicate thread:

    http://www.excelforum.com/excel-form...any-order.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    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,939

    Re: Use VLOOKUP to search multiple criteria in any order

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 09-01-2014, 08:05 AM
  2. search with multiple criteria from 2 sheets with the same order
    By Shacker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2013, 09:57 AM
  3. [SOLVED] VLOOKUP with multiple search criteria not working.. Need Help.
    By xlyfe in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-10-2013, 01:01 PM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. Replies: 2
    Last Post: 10-21-2007, 08:11 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