View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Teethless mama Teethless mama is offline
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