+ Reply to Thread
Results 1 to 2 of 2

vlookup - only return value after first match

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    San Mateo, CA
    MS-Off Ver
    2010
    Posts
    86

    vlookup - only return value after first match

    Hello,

    I'm wanting to create a formula that will only stop after the first value is found from the vlookup and not continue. Is that possible?

    Thanks so much!!
    Attached Files Attached Files

  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,946

    Re: vlookup - only return value after first match

    VLOOKUP() does just that - after it finds a match, it stops looking

    If you mean, you want it to show nothing for duplicate matches, try this...
    =IF(COUNTIF($A$1:A1,A1)>1,"",VLOOKUP(A1,vlookup!$A$1:$B$12,2,0))
    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

+ 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] Vlookup/index/match to return all values that match
    By Asil01 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-09-2014, 12:49 PM
  2. [SOLVED] VLookup return #N/A - But there is a match
    By JennOlsen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-26-2014, 04:37 PM
  3. VLOOKUP/INDEX/MATCH to return all values that match
    By lijia00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 11:56 AM
  4. Need VLOOKUP to return zero or blank if not match
    By climbmda in forum Excel General
    Replies: 2
    Last Post: 07-24-2012, 01:39 AM
  5. VLOOKUP - Return ONLY if uniqe match
    By Mogsy in forum Excel General
    Replies: 13
    Last Post: 05-06-2012, 11:02 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