Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default VLOOKUP() Question

I currently have this function in my spread sheet:

=IF(B17<"",VLOOKUP(B17,'Data Sheet'!$D$11:$E$60,2,FALSE),"")

Although the function works just fine, when the value of the second
cell is filled, it results to "#N/A" when it is blank. I would like
the function to display whatever the value is in the second cell
whether it is blank or filled. Does anyone know how to do this using
VLOOKUP, or possibly some other excel function? Any help would be
greatly appreciated. Thank you.

John

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default VLOOKUP() Question

Is this what you are looking for?

=IF(ISNA(IF(B17<"",VLOOKUP(B17,'Data
Sheet'!$D$11:$E$60,2,FALSE),"")),"",IF(B17<"",VLO OKUP(B17,'Data
Sheet'!$D$11:$E$60,2,FALSE)))
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"mastermind" wrote:

I currently have this function in my spread sheet:

=IF(B17<"",VLOOKUP(B17,'Data Sheet'!$D$11:$E$60,2,FALSE),"")

Although the function works just fine, when the value of the second
cell is filled, it results to "#N/A" when it is blank. I would like
the function to display whatever the value is in the second cell
whether it is blank or filled. Does anyone know how to do this using
VLOOKUP, or possibly some other excel function? Any help would be
greatly appreciated. Thank you.

John


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default It Works

That is exactly what I needed, thanks a bunch.

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 Cacoe Excel Worksheet Functions 2 August 1st 06 10:12 PM
Vlookup question aka_krakur Excel Discussion (Misc queries) 2 July 29th 06 12:17 AM
VLOOKUP question duration Excel Worksheet Functions 9 July 11th 06 03:25 PM
vlookup question Greegan Excel Worksheet Functions 3 December 20th 05 04:00 AM
Vlookup against multiple columns/worksheets question JCarter Excel Discussion (Misc queries) 8 March 9th 05 04:59 PM


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