+ Reply to Thread
Results 1 to 7 of 7

VLOOKUP Formula - Needing it to ignore blank cell

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    VLOOKUP Formula - Needing it to ignore blank cell

    Hello all,

    Here's what I have in C5:

    =VLOOKUP(B5,Sheet7!$A$1:$B$6,2)

    The range for the VLOOKUP is:

    0 Not qualified. Minimum standards and qualifications are not met.
    1 Meets standards and qualification of some subcategories but a majority are below minimum standards.
    2 Meets standards and qualifications in a majority of the subcategories but not all.
    3 Meets standards and qualifications.
    4 Exceeds standards and qualifications in most subcategories.
    5 Exceeds standards and qualifications in each sub category.

    But, in C5 it's returning the data for a 0. If B5 is blank, I want C5 to be blank.

    Thank you!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    Try

    =VLOOKUP(B5,Sheet7!$A$1:$B$6,2,0)

    However this will now return #N/A for a blank in B5..
    So we can use IFERROR

    =IFERROR(VLOOKUP(B5,Sheet7!$A$1:$B$6,2,0),"")

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    Thank you Jonmo1; however, what I'm looking for is a return in C5 based on the input in B5. I tried both forumulas but it still returned the data from the VLOOKUP for "0".

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    That probably means the resulting cell in column B in Sheet7 is Blank (or 0)

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    This might meet your needs

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    07-11-2012
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    Quote Originally Posted by newdoverman View Post
    This might meet your needs

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Yes! Thank you!

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: VLOOKUP Formula - Needing it to ignore blank cell

    You're welcome.

    Thanks for the feedback.

+ 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/Concatenate to ignore a cell if value is blank
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-13-2013, 04:26 PM
  2. Ignore Cell if it is blank (but still has formula)
    By thelegazy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2013, 12:30 PM
  3. [SOLVED] An INDEX MATCH formula has blank cell - need to ignore or delete
    By rls231 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-26-2013, 11:13 PM
  4. Formula (SUM & IF) to ignore a blank cell?
    By DORourke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2013, 06:48 PM
  5. How? Ignore cell if blank in an IF formula.
    By n2lectual in forum Excel General
    Replies: 7
    Last Post: 03-26-2008, 03:46 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