+ Reply to Thread
Results 1 to 3 of 3

Lookup specific value in range of duplicates return if true

  1. #1
    Registered User
    Join Date
    06-30-2008
    Location
    Georgia
    MS-Off Ver
    2013
    Posts
    72

    Question Lookup specific value in range of duplicates return if true

    I wasn't sure exactly how to title this, but what I'm trying to understand if it is possible to look up specific text in a range which will contain duplicates and return true if there.

    Example:

    C1 C2
    Client 1 OK
    Client 2 OK
    Client 2 High
    Client 1 OK
    Client 3 High2
    Client 1 OK
    Client 3 OK

    I want to look up "Client 1" in Column 1 to see if the word "High" appears in Column 2 for them, if so, return "High", otherwise "OK". I know your general lookup function would first the first result and return whatever it finds. I need it to look at all possibilities and then make the decision. If a formula is not possible VBA is fine too. I was unsuccessful in searching for this as I was not sure how to search it.
    Last edited by maddog9486; 01-14-2014 at 04:05 PM.

  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
    52,942

    Re: Lookup specific value in range of duplicates return if true

    Maybe....
    =iferror(vlookup("high",$C$1:$C$20,2,1),"OK")
    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
    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,942

    Re: Lookup specific value in range of duplicates return if true

    deleted duplicate post

+ 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] formula to lookup formatting and return true false
    By paintballlovr in forum Excel General
    Replies: 2
    Last Post: 05-17-2012, 09:32 AM
  2. [SOLVED] Match specific words in cell and return value if true or false
    By jbrooksia in forum Excel General
    Replies: 3
    Last Post: 03-27-2012, 04:15 PM
  3. Want to return 'TRUE' if text duplicates in multiple cells
    By ddub25 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2007, 08:22 AM
  4. trying to lookup a value and return if true or fals
    By bretkennedy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2006, 03:10 AM
  5. [SOLVED] Can LooKUP get return value of True or False?
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2005, 07:30 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