Automatic date (morning - afternoon)
Solved
cocoviet
Posted messages
2
Registration date
Status
Member
Last intervention
-
Pitu Posted messages 1460 Status Contributor -
Pitu Posted messages 1460 Status Contributor -
Bonjour,
I would like Excel to note in a cell based on the time whether it is morning or afternoon.
If this is possible, thank you for your help!
Configuration: Windows 7 / Firefox 10.0
I would like Excel to note in a cell based on the time whether it is morning or afternoon.
If this is possible, thank you for your help!
Configuration: Windows 7 / Firefox 10.0
3 answers
-
Hello,
=IF(HOUR(NOW())<=11;"MORNING";"AFTERNOON")
This will display MORNING until 11:59:59 ...
--
(:*Þ PitùWell, neither by any means, nor even quasi modo
-
-
Hello,
An example in the workbook there ---> https://www.cjoint.com/?BCfj4XxhBJP
--
(:*Þ PitùOh well, not even close
-
-
-
Hello Pitu,
I work in shifts, meaning: morning 5am - 1pm; afternoon 1pm - 9pm; night 9pm - 5am
I fill out a shift log sheet.
When I'm on the morning shift for example, I would like that according to the current time, it automatically fills in the box where I manually enter the information.
I tried this:
=IF(HOUR(NOW())<=4,"night",IF(HOUR(NOW())<=12,"morning",IF(HOUR(NOW())<=20,"afternoon")))
And it works!
Thank you... -
-