View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\) Rick Rothstein \(MVP - VB\) is offline
external usenet poster
 
Posts: 2,202
Default Match Date/Time to Date list

Give this a try... put this formula in, say, B1 and copy down...

=IF(ISERROR(VLOOKUP(INT(A1),B1:B23,1,FALSE)),"No", "Yes")

Rick


"Sandy" wrote in message
...
I have a Date/Time in A1 (mm/dd/yy hh:mm) and a list of dates (mm/dd/yy) in
D1:D10. I would like a formula to compare the date/time to the date list
and
return "yes" if it is in the list and "no" if not.
Thanks