Greetings, All!
I have two separate IF statements that work independently, but need help with the syntax when attempting to combine the two statements into a single, functional, nested IF statement.
Based on the results of an earlier evaluation (determining what asset ownership data a requestor is authorized to see), my worksheet cell needs to retrieve and reflect a specific asset owner name. Here are the independent statements that currently function as expected:
1) =IF(AND($C$4 ="YES, REPRESENTS LEAD OWNER",'Inputs-LOAD_DATA_FOR_LARF'!V4<>""),'Inputs-LOAD_DATA_FOR_LARF'!V4,"")
2) =IF(AND($C$4="YES, REPRESENTS ASSET OWNER",ISNA(VLOOKUP($M$5,'Inputs-LOAD_DATA_FOR_LARF'!$U$4:$V$40,2,FALSE))),"",VLOOKUP($M$5,'Inputs-LOAD_DATA_FOR_LARF'!$U$4:$V$40,2,FALSE))
Using "IF( condition1, value_if_true1, IF( condition2, value_if_true2, value_if_false2 ))" as my guide, I have tried to create a single, functional nested if statement to no avail. Here's my latest attempt that yielded #NA:
=IF(AND($C$4="YES, REPRESENTS ASSET OWNER",ISNA(VLOOKUP($M$5,'Inputs-LOAD_DATA_FOR_LARF'!$U$4:$V$40,2,FALSE))),"",VLOOKUP($M$5,'Inputs-LOAD_DATA_FOR_LARF'!$U$4:$V$40,2,FALSE)), IF(AND($C$4 ="YES, REPRESENTS LEAD OWNER",'Inputs-LOAD_DATA_FOR_LARF'!V4<>""),'Inputs-LOAD_DATA_FOR_LARF'!V4,"")
Can someone help me with the correct MS Excel 2007 syntax, so I can combine #1 and 2 into a functional nested if statement? I'm stumped!
Bookmarks