Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default 3 level nested if please explain

=if(isna(vlookup_1),if(isna(vlookup_2), if(isna(vlookup_3),"not present",
vlookup_3),vlookup_2),vlookup_1)


just trying to understand what someone gave me earlier.

if value is #n/a do first lookup
T ^ F
(do second lookup) (if its false do nothing)
T ^ F
(3rd lookup) (do nothing)
T ^ F
(not present) (do nothing)

the last 3 after the comma is what is confusing after the "not present"

vlookup_3), vlookup_2), vlookup_1)) this is the nested part but where does
it go in my diagram?

thanks,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default 3 level nested if please explain

Your (do nothing)s are incorrect.

One way to visualize:

Start with

=IF(criterion1, True1, False1)

(e.g., where criterion1 is ISNA(VLOOKUP_1))

Now substitute the second IF() statement for True1

=IF(criterion1, IF(criterion2, True2, False2), False1)

and the third IF() statement for True2:

=IF(criterion1, IF(criterion2, IF(criterion3, True3, False3)
, False2), False1)


whe

criterion1: ISNA(VLOOKUP_1)
criterion2: ISNA(VLOOKUP_2)
criterion3: ISNA(VLOOKUP_3)

False1: VLOOKUP_1
False2: VLOOKUP_2
False3: VLOOKUP_3

TRUE3: "not present"



In article ,
Janis wrote:

=if(isna(vlookup_1),if(isna(vlookup_2), if(isna(vlookup_3),"not present",
vlookup_3),vlookup_2),vlookup_1)


just trying to understand what someone gave me earlier.

if value is #n/a do first lookup
T ^ F
(do second lookup) (if its false do nothing)
T ^ F
(3rd lookup) (do nothing)
T ^ F
(not present) (do nothing)

the last 3 after the comma is what is confusing after the "not present"

vlookup_3), vlookup_2), vlookup_1)) this is the nested part but where does
it go in my diagram?

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
Explain THIS ... Ray Excel Discussion (Misc queries) 9 July 31st 07 08:06 PM
explain this one to me.... Dave F Excel Discussion (Misc queries) 10 November 16th 06 11:05 PM
Please explain Maxwell Excel Worksheet Functions 1 March 31st 06 01:12 PM
Let me see if I can explain this... jsc3489 Excel Worksheet Functions 0 July 22nd 05 05:04 PM
Limited IF Nested Level functions. Skyscraper Excel Discussion (Misc queries) 1 April 8th 05 12:35 PM


All times are GMT +1. The time now is 05:46 AM.

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"