IF forumla for time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a time and date field such as "5/25/05 13:05." I need a calculation
so that if the time is greater than or equal to 7:00, then it should return
the same date. If it is after 7:00, it should return the next day's date.

Thanks - Leigh Ann
 
This will have today's date if it is before 7:00 AM (change the 7 to 19 if
you want 7:00 PM) and tomorrow's date if it is after 7:00 AM

=TODAY()+(NOW()>7/24)*1

This will have the date & time

=NOW()+(NOW()>7/24)*1
 

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

Back
Top