+ Reply to Thread
Results 1 to 9 of 9

vLookup+Match showing 0 instead of blank

  1. #1
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    vLookup+Match showing 0 instead of blank

    Hi,
    I've been googling this one but struggling. I have the following formula that if 'no data' is found, I want to cell to remain blank. Right now, it adds a zero and I can't figure out how to avoid that. I know there are conditional formatting methods but these fields are used for other purposes. Thank you!



    =IFERROR(VLOOKUP([@[LeanIX ID]],LeanIXData!A:ZZ,MATCH(E$3,LeanIXData!$2:$2,0),0),"")

  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
    79,368

    Re: vLookup+Match showing 0 instead of blank

    Try this:

    =IFERROR(1/(1/VLOOKUP([@[LeanIX ID]],LeanIXData!A:ZZ,MATCH(E$3,LeanIXData!$2:$2,0),0)),"")
    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
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: vLookup+Match showing 0 instead of blank

    Hmm, that wiped out all data. Not sure if it helps to know that the data is not numerical but its text based.

  4. #4
    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
    79,368

    Re: vLookup+Match showing 0 instead of blank

    OK - well, I don't know what I can't see or what I'm not told.

    How about a sample workbook?

  5. #5
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: vLookup+Match showing 0 instead of blank

    =)

    See attached. Thank you
    Attached Files Attached Files

  6. #6
    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
    79,368

    Re: vLookup+Match showing 0 instead of blank

    Best I can offer:

    =IF(VLOOKUP([@[LeanIX ID]],LeanIXData!A:VA,MATCH(B$3,LeanIXData!$2:$2,0),0)=0,"",VLOOKUP([@[LeanIX ID]],LeanIXData!A:VA,MATCH(B$3,LeanIXData!$2:$2,0),0))

  7. #7
    Registered User
    Join Date
    09-23-2012
    Location
    New York
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: vLookup+Match showing 0 instead of blank

    Your best works perfectly. Thank you!

  8. #8
    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
    79,368

    Re: vLookup+Match showing 0 instead of blank

    Glad to help.

  9. #9
    Forum Contributor
    Join Date
    03-28-2021
    Location
    China
    MS-Off Ver
    O365
    Posts
    105

    Re: vLookup+Match showing 0 instead of blank

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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-result showing 0 with existing match
    By garycpl1031 in forum Excel General
    Replies: 4
    Last Post: 12-24-2019, 03:56 AM
  2. [SOLVED] VLOOKUP formula that also can prevent the cell from showing a 0 if the Cell is blank
    By JJAngel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-20-2019, 03:25 PM
  3. [SOLVED] Index match show all matches from list (only showing the first match...)
    By jakeh2475 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2018, 02:11 PM
  4. Replies: 8
    Last Post: 10-25-2016, 03:34 PM
  5. 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
  6. VLOOKUP Showing MIN VALUE IF MATCH
    By crizz82 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2012, 05:57 PM
  7. [SOLVED] Not showing blank and non blank items in filter mode for values
    By Bhaskar Polisetty in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2006, 09:10 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