+ Reply to Thread
Results 1 to 7 of 7

VLOOKUP keeps bringing up blank cell

  1. #1
    Registered User
    Join Date
    05-06-2012
    Location
    Limpop
    MS-Off Ver
    Excel 2007
    Posts
    19

    VLOOKUP keeps bringing up blank cell

    Hi Guys,

    i have attached the spread sheet, but basically i have a sheet with ALLOT of data on it, first row is the code and second row is the description for the code.
    On sheet 1 i need to enter the code submitted in Cell A and then i need it to search that code and give the description on Cell B.

    im currently using IFERROR(IF(B3="";"";VLOOKUP(B3;ICD;2;FALSE));"") ----> ICD is the name given to all the data. Ive used this before and it worked so why not anymore?

    BUT this just brings up a blank cell. Ive also noticed now that if i want to referance the cell to another sheet (=B21) is just says =B1 in the cell and does not referance it anymore.

    Any ideas?

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: VLOOKUP keeps bringing up blank cell

    Here!

    This should work in Cell B2 - =IFERROR(IF(B2="","",VLOOKUP(B2,ICD,2,0)),"")

    There are spaces in A Column of ICD..

    Find and Replace those then the formula will work
    Cheers!
    Deep Dave

  3. #3
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: VLOOKUP keeps bringing up blank cell

    Hi,

    You have done all things well just a very silly error..
    ICD defines name= There are some blank space in your data use this.......
    Press Ctr+Shift+Enter as this is CSE/Array formula.....
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your question is resolved, mark it SOLVED using the thread tools. Click on the star if you think some-1 helped you.
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  4. #4
    Registered User
    Join Date
    05-06-2012
    Location
    Limpop
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: VLOOKUP keeps bringing up blank cell

    MY SPACE BAR HATES ME CLEARLY!!

    Thanks guys, only 2800 cells to check - but its working. But can you please tell me how you figured that one out? would be interesting for next time

  5. #5
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: VLOOKUP keeps bringing up blank cell

    Please Click STAR to Add Reputation if my/someone's answer helped!

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: VLOOKUP keeps bringing up blank cell

    Quote Originally Posted by tamhav View Post
    Thanks guys, only 2800 cells to check - but its working.
    Hope you are not removing one space at a time.. You can do it all at once using Find & Replace.. Put a space in the Find sections and leave the replace section as is..

  7. #7
    Registered User
    Join Date
    05-06-2012
    Location
    Limpop
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: VLOOKUP keeps bringing up blank cell

    I did use find & replace, but to look busy at the office i did tell them its going to take a while....

+ 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 not bringing up exact match
    By acfrogg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2013, 01:55 AM
  2. Problems with my macro to sort. It is bringing blank rows to the top.
    By ricdamiani in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2013, 07:03 AM
  3. [SOLVED] Vlookup bringing wrong data
    By wayneg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-20-2013, 04:44 AM
  4. [SOLVED] Need formula to return blank instead of #N/A when source cell is blank, using VLOOKUP
    By TMB1234 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2013, 07:16 PM
  5. Excel 2007 : Vlookup not bringing back correct data
    By voviedo in forum Excel General
    Replies: 2
    Last Post: 01-26-2010, 11:27 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