+ Reply to Thread
Results 1 to 3 of 3

Lookup a blank cell in a Lookup table and return a figure.

  1. #1
    Registered User
    Join Date
    04-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Lookup a blank cell in a Lookup table and return a figure.

    I am using a lookup table to lookup codes that then give a dollar value within my spreadsheet, using the following formula =IF(B5=0,"",(VLOOKUP(B5,$A$236:$B$250,2,FALSE))), however I have one code in the lookup table that is blank but still requires a dollar value to be added to my spreadsheet. At the moment the cell is returning a blank value instead of the $30 it should, Any ideas?

    A236 B236
    Lookup Code Dollar Value

    TRAVEL $900.00
    {BLANK} $30.00

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,771

    Re: Lookup a blank cell in a Lookup table and return a figure.

    Because when you refer a formula which is really blank then then blank cell is considered as 0.

    Just press = and refer on a blank cell and give enter surely it will result 0.

    =IF(B5=0,"",(VLOOKUP(B5,$A$236:$B$250,2,FALSE)))

    So in your above formula B5=0 is matching and its resulting blank as result.

  3. #3
    Registered User
    Join Date
    04-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Lookup a blank cell in a Lookup table and return a figure.

    Sorry, I'm not understanding what you mean!

+ 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] macro to lookup two dates and return figure in corresponding month columns
    By tiger01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2013, 02:55 AM
  2. Lookup value in a table, return cell below
    By burlywood66 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-25-2013, 11:16 AM
  3. Replies: 1
    Last Post: 11-07-2012, 01:57 PM
  4. VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY
    By Scott Lolmaugh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2006, 07:10 PM
  5. Return of blank cell if lookup fails
    By TimM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-23-2005, 12:40 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