Match Date/Time to Date list

S

Sandy

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
 
R

Rick Rothstein \(MVP - VB\)

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
 
Top