+ Reply to Thread
Results 1 to 3 of 3

Lookup values skipping blank cells

  1. #1
    Registered User
    Join Date
    02-03-2015
    Location
    United States
    MS-Off Ver
    2010
    Posts
    22

    Lookup values skipping blank cells

    In the attached excel file, I have a vlookup formula in cell B2 to return an approximate value for the input date in cell B1. It returns the value I would expect from the data set, which contains no blank cells. I have similar data in columns F & G, but I made cells G8 & G9 blank for dates 1/1/2002 & 1/1/2003. I want a formula that will return the value of 3 from date 1/1/2001 with an input date of 2/15/2003 and not return a value of zero from the blank cell for date 1/1/2003. Any ideas how to accomplish this? The sample data I have provided is a simplified set from a more complex set of data.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: Lookup values skipping blank cells

    ARRAY Formula in G2

    =INDEX($G$6:$G$16,MATCH(G1,IF($G$6:$G$16<>"",$F$6:$F$16,""),1))

    ARRAY formula is used

    To enter ARRAY formula
    Paste the formula
    Press F2
    Press Ctrl+Shift+Enter keys together.
    formula will be covered with{} brackets by excel.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-03-2015
    Location
    United States
    MS-Off Ver
    2010
    Posts
    22

    Re: Lookup values skipping blank cells

    Thank you. Works great.

+ 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] Lookup & skipping blank rows
    By sesomshom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2016, 07:50 PM
  2. "Lookup" data while skipping blank cells
    By jrbrooks34 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-27-2016, 11:38 AM
  3. skipping blank cells in an if statement
    By jjsmi4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-23-2013, 04:32 AM
  4. Replies: 0
    Last Post: 03-05-2013, 09:22 AM
  5. Skipping blank cells with IF function
    By warrickza in forum Excel General
    Replies: 8
    Last Post: 05-06-2010, 09:22 AM
  6. Concatenation and skipping blank cells
    By soma104 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-31-2006, 08:15 AM
  7. Skipping Blank Cells
    By Coltsfan in forum Excel General
    Replies: 1
    Last Post: 10-12-2005, 09:05 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