VLOOKUP question

G

Guest

I have this formula

=IF(ISNA(VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE)) =TRUE,
"DONOR NOT VALID",
VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE))

on cell B17.

When the user selects a value in A17 from the drop down, it goes to sheet
'Data-FSList' to retrieve a value. If the value is not there it comes back
in field B17 'DONOR NOT VALID'

However when A17 contains no value from the drop down and is blank I do not
want 'DONOR NOT VALID' to show in cell B17.

Is there a way to add to the formula above if A17 is blank then B17 is blank

thanks
 
G

Guest

Never mind...found out to include the entire thing in one IF statement...here
is what I did

=IF(A17="","",IF(ISNA(VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE))
=TRUE, "DONOR NOT
VALID",VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE)))
 
D

Dave Peterson

=if(a17="","",if(isna(......


I have this formula

=IF(ISNA(VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE)) =TRUE,
"DONOR NOT VALID",
VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE))

on cell B17.

When the user selects a value in A17 from the drop down, it goes to sheet
'Data-FSList' to retrieve a value. If the value is not there it comes back
in field B17 'DONOR NOT VALID'

However when A17 contains no value from the drop down and is blank I do not
want 'DONOR NOT VALID' to show in cell B17.

Is there a way to add to the formula above if A17 is blank then B17 is blank

thanks
 
G

Guest

=if(len(trim(A17))=0,"",IF(ISNA(VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE)) =TRUE,
"DONOR NOT VALID",
VLOOKUP(A17,'Data-FSList'!GEAC2000IntlFSList,2,FALSE)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top