#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default nesting formulas

Can anyone tell me what this formula is doing? Specifically, why is the ISNA
function cited here? Is it because the data it is looking for not in the
first column in order?

I understand the vlookup function but how does it work within the ISNA?

=IF(ISNA(VLOOKUP(D32,Detail!$B$1:$B$289,1,FALSE)), "new"," x")


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 171
Default nesting formulas

If the vlookup function can't find a match, it will return NA. So embedding
the vlookup inside the ISNA test 'traps' the error. If no match is found the
vlookup returns NA, so ISNA evaluates to true and the IF function returns
"new". If a match is found by the vlookup, ISNA evaluates to false and the
IF function returns "x".

"cinvic" wrote:

Can anyone tell me what this formula is doing? Specifically, why is the ISNA
function cited here? Is it because the data it is looking for not in the
first column in order?

I understand the vlookup function but how does it work within the ISNA?

=IF(ISNA(VLOOKUP(D32,Detail!$B$1:$B$289,1,FALSE)), "new"," x")


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default nesting formulas

As always, this website and your response is dead on and extremely helpful.
Thanks so much for your response!

"bpeltzer" wrote:

If the vlookup function can't find a match, it will return NA. So embedding
the vlookup inside the ISNA test 'traps' the error. If no match is found the
vlookup returns NA, so ISNA evaluates to true and the IF function returns
"new". If a match is found by the vlookup, ISNA evaluates to false and the
IF function returns "x".

"cinvic" wrote:

Can anyone tell me what this formula is doing? Specifically, why is the ISNA
function cited here? Is it because the data it is looking for not in the
first column in order?

I understand the vlookup function but how does it work within the ISNA?

=IF(ISNA(VLOOKUP(D32,Detail!$B$1:$B$289,1,FALSE)), "new"," x")


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
Nesting named formulas Alex Excel Worksheet Functions 2 December 21st 07 02:10 PM
nesting formulas Vladimir Excel Worksheet Functions 1 September 7th 06 09:25 PM
Nesting SUMIF formulas Todd Excel Worksheet Functions 6 June 7th 06 12:15 PM
nesting conditional formulas Nancy Excel Worksheet Functions 3 January 16th 06 05:21 PM
Nesting Formulas PLCProgrammer Excel Worksheet Functions 2 February 3rd 05 10:29 PM


All times are GMT +1. The time now is 12:15 AM.

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"