+ Reply to Thread
Results 1 to 3 of 3

How can I make VLOOKUP return nothing at all if column index is blank?

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    Indianapolis, IN
    MS-Off Ver
    2007
    Posts
    68

    Question How can I make VLOOKUP return nothing at all if column index is blank?

    I am using this formula;

    =VLOOKUP(A1,Sheet1!A:L,10,FALSE)

    In worksheet that contains my array, the cells in column 10 either have a time in them (in 24hr format), or are completely blank. The formula is working fine as long as there is a time in the cell column 10. If the cell in column 10 is completely blank, the forumla returns 0:00 which is midnight. That's not what I want. If the cell in column 10 is blank, I want my formula result to be blank. How can I accomplish that?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How can I make VLOOKUP return nothing at all if column index is blank?

    Perhaps..

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

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How can I make VLOOKUP return nothing at all if column index is blank?

    another way
    =IFERROR(1/(1/VLOOKUP(a1,Sheet1!A:L,10,2,FALSE)),"")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Index/ Match Formula, How to return blank cell as a blank not 0
    By MDResearcher in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2016, 08:40 PM
  2. Vlookup or Index to return furthest right column of data
    By element32d in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2013, 10:52 AM
  3. VLOOKUP or INDEX formula to return multiple values in the same column
    By Raidon in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-08-2012, 08:41 AM
  4. [SOLVED] Formula (VLOOKUP vs INDEX & MATCH) to return multiple values in the same column
    By wfidler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2012, 07:04 PM
  5. Replies: 2
    Last Post: 01-12-2012, 07: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