#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default IF / ISBLANK

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default IF / ISBLANK

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

"Missile" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
isblank [email protected] Excel Worksheet Functions 4 December 23rd 09 05:38 AM
isblank James Irwin Excel Discussion (Misc queries) 2 December 18th 08 04:35 PM
ISBLANK() kw_uh97 Excel Worksheet Functions 8 June 30th 07 06:42 AM
ISBLANK Gimpy815 Excel Worksheet Functions 2 February 24th 06 06:09 PM
If(ISBLANK) Bill R Excel Worksheet Functions 1 August 13th 05 05:56 PM


All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"