#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default VLOOKUP #NA

hello,
i am using vlookup formula but when cell is empty #na error is coming out is
there any other way ?

=IF(A100="","",VLOOKUP(A100,spl,12,))

thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default VLOOKUP #NA

VLOOKUP will return #NA if the value is not found. Try it this way to avoid
showing #NA.

=IF(A100="","",IF(ISNA(VLOOKUP(A100,spl,12,)),"",V LOOKUP(A100,spl,12,)))

or just like this:

=IF(ISNA(VLOOKUP(A100,spl,12,)),"",VLOOKUP(A100,sp l,12,))


--

Hope that helps.

Vergel Adriano


"Tufail" wrote:

hello,
i am using vlookup formula but when cell is empty #na error is coming out is
there any other way ?

=IF(A100="","",VLOOKUP(A100,spl,12,))

thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default VLOOKUP #NA

thank you very much for your reply.

"Vergel Adriano" wrote:

VLOOKUP will return #NA if the value is not found. Try it this way to avoid
showing #NA.

=IF(A100="","",IF(ISNA(VLOOKUP(A100,spl,12,)),"",V LOOKUP(A100,spl,12,)))

or just like this:

=IF(ISNA(VLOOKUP(A100,spl,12,)),"",VLOOKUP(A100,sp l,12,))


--

Hope that helps.

Vergel Adriano


"Tufail" wrote:

hello,
i am using vlookup formula but when cell is empty #na error is coming out is
there any other way ?

=IF(A100="","",VLOOKUP(A100,spl,12,))

thanks in advance.

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
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? erikhs[_20_] Excel Programming 1 August 6th 06 06:18 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 03:54 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"