#1   Report Post  
Posted to microsoft.public.excel.misc
MH MH is offline
external usenet poster
 
Posts: 28
Default vlookup using dates

User trying to find the value on a certain date can enter that date (a1).
vlookup will search column A for the requested date and then return the
associated value that is in column b.... Column A10:a100 = dates. Column
B10:b100= values... =vlookup(a1,a10:b100,2) returns #N/A

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default vlookup using dates

=IF(COUNTIF(A10:A100,A1),VLOOKUP(A1,A10:B100,2,0), "not found")


"MH" wrote:

User trying to find the value on a certain date can enter that date (a1).
vlookup will search column A for the requested date and then return the
associated value that is in column b.... Column A10:a100 = dates. Column
B10:b100= values... =vlookup(a1,a10:b100,2) returns #N/A

  #3   Report Post  
Posted to microsoft.public.excel.misc
MH MH is offline
external usenet poster
 
Posts: 28
Default vlookup using dates

I was able to get the formula to work as: =vlookup(a1,a10:b100,2,False)
I believe format for date in a1 must be consistant with format for dates in
a10:a100

"MH" wrote:

User trying to find the value on a certain date can enter that date (a1).
vlookup will search column A for the requested date and then return the
associated value that is in column b.... Column A10:a100 = dates. Column
B10:b100= values... =vlookup(a1,a10:b100,2) returns #N/A

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 and dates! KneeDown2Up Excel Worksheet Functions 6 April 2nd 07 08:44 AM
lookup/vlookup for dates, please help! soozanne Excel Worksheet Functions 1 February 23rd 06 04:00 PM
dates and vlookup grapes Excel Worksheet Functions 1 February 2nd 06 09:19 PM
VLOOKUP calendar dates Stanley Excel Discussion (Misc queries) 5 January 19th 06 05:00 PM
VLookUp with Dates o1darcie1o Excel Worksheet Functions 4 September 2nd 05 01:18 PM


All times are GMT +1. The time now is 05:37 PM.

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"