Issue with Dates ans Hours

Hi! need help, trying set periods of the day in a table like from 8:00 to 12:00 - 12:00 16:00 …

Trying to use IF Then, but in the before or afther there is no custom so i can get an hour but not the ones before

sorry would be easy but i did not find

regards

Did you mean that you want something like that:

  • If Time is before 12:00 → "Morning".
  • If Time is before 16:00 → "Afternoon".
  • If Time is before 20:00 → "Evening".
  • Else → "Night"?

Hi MaximeBaker,

Yes would solve my problem

Regards

First, create a Math column to get only the hours:

Then, create your if-then-else column like this:

1 Like

Hi Max,

Great many thanks! It is working now

1 Like

My pleasure !!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.