Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VLOOKUP question

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default VLOOKUP question

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)))



"ssciarrino" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VLOOKUP question

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



ssciarrino wrote:

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


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default VLOOKUP question

=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)))

--
Regards,
Tom Ogilvy



"ssciarrino" wrote:

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

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
vlookup question KJ Excel Discussion (Misc queries) 6 August 1st 09 07:56 AM
vlookup question [email protected] Excel Discussion (Misc queries) 1 August 8th 08 04:30 PM
vlookup question Pakmount Excel Discussion (Misc queries) 1 October 21st 06 07:46 AM
VLOOKUP question Pierre Fichaud Excel Worksheet Functions 5 March 18th 05 10:53 PM
vlookup question Alex Excel Worksheet Functions 2 November 11th 04 05:11 PM


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