IF / ISBLANK

  • Thread starter Thread starter Missile
  • Start date Start date
M

Missile

When using this formula =IF(ISBLANK(B2)," ",VLOOKUP(B2,D2:E50,2,1) I am
getting ethier the #N/A error or incorrect data when cell B2 has a value
starting with a 0, eg 07934.
cannot change this as they are Part Numbers and require the 0.

Any suggestions?

Thanks
 
Your lookup value is text, and your lookup table has numbers, or vice versa.

Ensure both are text, or both are numbers. Either one will solve your
problem.

As an aside, to display nothing in a cell, you're normally better off to use
"" rather than " ".

Regards,
Fred
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF/ISBLANK formula 3
Multiple IF statement not working 5
isblank 2
isblank range 5
IsBlank 5
Auto-adjusting Formulas 1
VLOOKUP problem 3
Macros & Copying to another sheet 2

Back
Top