#1   Report Post  
Tim
 
Posts: n/a
Default isna vlookup

Hi

I'm using this vlookup to get values from a sheet
named "sub": VLOOKUP(R1,sub!$J$1:$K$18,2,FALSE)
and t works. But when "R1" is not in the lookup table
sub!$J$1:$K$18 I get an #N/A as a result and I changed
the vlookup formula to:
=IF(ISNA(VLOOKUP(R1,sub!$J$1:$K$18,2,FALSE),"",VLO OKUP
(R1,sub!$J$1:$K$18,2,FALSE)) to avoid #N/A but now I
receive an error message for the formula.
Is there anybody who knows how to fix this problem?

  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Tim wrote:
Hi

I'm using this vlookup to get values from a sheet
named "sub": VLOOKUP(R1,sub!$J$1:$K$18,2,FALSE)
and t works. But when "R1" is not in the lookup table
sub!$J$1:$K$18 I get an #N/A as a result and I changed
the vlookup formula to:
=IF(ISNA(VLOOKUP(R1,sub!$J$1:$K$18,2,FALSE),"",VLO OKUP
(R1,sub!$J$1:$K$18,2,FALSE)) to avoid #N/A but now I
receive an error message for the formula.
Is there anybody who knows how to fix this problem?


A paren is missing:

=IF(ISNA(VLOOKUP(R1,sub!$J$1:$K$18,2,FALSE)),"",VL OOKUP
(R1,sub!$J$1:$K$18,2,FALSE))
  #3   Report Post  
Tim
 
Posts: n/a
Default

Thank you Aladin.

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
ISNA and VLOOKUP Chris Kellock Excel Worksheet Functions 3 March 12th 05 07:05 AM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
if isna and vlookup together tina Excel Worksheet Functions 2 January 20th 05 01:06 PM


All times are GMT +1. The time now is 01:23 PM.

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

About Us

"It's about Microsoft Excel"