Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default vlookup returning Errors (ISNA formula)

Hi

When using the Vlookup statment on a cell where that cell content does not
exist in the vlookup range, how do you avoid the #NA or #value error?

I read previous posts and tried the ISNA formula but Excel will not accept
the formula- it stays at the change formula display. The formula I type is
below:

=IF(isna(VLOOKUP(A1,Sheet2!$A$1:$B$2,2,FALSE),"No" ,VLOOKUP(A1,Sheet2!$A$1:$B$2,2,0))

If anyone can help that would be much appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default vlookup returning Errors (ISNA formula)

Think you're just missing a left/closing parens for the ISNA(..) part:
=IF(ISNA(VLOOKUP(A1,Sheet2!$A$1:$B$2,2,FALSE)),"No ",VLOOKUP(A1,Sheet2!$A$1:$B$2,2,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Nora" wrote:
When using the Vlookup statment on a cell where that cell content does not
exist in the vlookup range, how do you avoid the #NA or #value error?

I read previous posts and tried the ISNA formula but Excel will not accept
the formula- it stays at the change formula display. The formula I type is
below:

=IF(isna(VLOOKUP(A1,Sheet2!$A$1:$B$2,2,FALSE),"No" ,VLOOKUP(A1,Sheet2!$A$1:$B$2,2,0))

If anyone can help that would be much appreciated

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default vlookup returning Errors (ISNA formula)

oops, errata, this:
.. a left/closing parens


should read as:
.. a right/closing parens

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default vlookup returning Errors (ISNA formula)

Hi Nora,

You didn't state what version of Excel you were using, if it is 2007 you can
use a simplier formula:

=IFERROR(VLOOKUP(A1,Sheet2!$A$1:$B$2,2,FALSE),"No" )

--
Cheers,
Shane Devenshire


"Nora" wrote:

Hi

When using the Vlookup statment on a cell where that cell content does not
exist in the vlookup range, how do you avoid the #NA or #value error?

I read previous posts and tried the ISNA formula but Excel will not accept
the formula- it stays at the change formula display. The formula I type is
below:

=IF(isna(VLOOKUP(A1,Sheet2!$A$1:$B$2,2,FALSE),"No" ,VLOOKUP(A1,Sheet2!$A$1:$B$2,2,0))

If anyone can help that would be much appreciated

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 isna match vlookup formula maijiuli Excel Worksheet Functions 6 November 20th 07 10:09 PM
isna vlookup returning"0" instead of " " Martha Excel Worksheet Functions 3 April 20th 07 09:31 PM
"If" statement returning blank gives downstream formula errors. Johnboy Excel Discussion (Misc queries) 2 February 26th 07 05:26 PM
VLOOKUP returning errors Dave F Excel Worksheet Functions 4 September 6th 06 06:35 PM
Leave cell data (IF(ISNA(VLOOKUP) is TRUE instead of returning blank (" ") or #NA [email protected] Excel Worksheet Functions 6 October 27th 05 04:02 PM


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