Match Date/Time to Date list

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

date and time difference 19
Working with Date/Time 1
=Now() Format 2
Change date format in Excel footer 2
Date Format 2
Date and Time Conversion 3
date computing and sum issues 6
Finding Date in an overseas format 20

Top