pvtjoker77
New Member
- Joined
- Aug 31, 2015
- Messages
- 13
- Office Version
- 2016
- Platform
- Windows
Hello
First off Thank you in advance!
Here is my set up in 1 cell (AG33) I have the current time using the =LastModified(K4) in the cell below it I'm trying write a formula that if the current time is before or = 11:59 AM it returns Good Morning but if the time is after 11:59 AM but before 5:59 PM it returns Good Afternoon and if it is After 5:59 pm or later it returns Good Evening
Here are 2 that I have tried
This first one I put 11:59 AM in cell AG30 and 5:59 PM in Cell AG31 and in cell (AH33) is Good Morning, In Cell (AI33) Good Afternoon, in Cell (AJ33) is Good Evening for the IF formula below
=IF(AG33<=AG30,AH33, IF(AG33<AG31,AI33, IF(AG33>AG31, AJ33, "")))
The second one
=IF(AG33<=TIME(11,59,59),"Good Morning,",IF(AG33>=TIME(12,0,0),"Good Afternoon,",IF(AG33>=TIME(18,0,0),"Good Evening,""0")))
Any help would be appreciated
First off Thank you in advance!
Here is my set up in 1 cell (AG33) I have the current time using the =LastModified(K4) in the cell below it I'm trying write a formula that if the current time is before or = 11:59 AM it returns Good Morning but if the time is after 11:59 AM but before 5:59 PM it returns Good Afternoon and if it is After 5:59 pm or later it returns Good Evening
Here are 2 that I have tried
This first one I put 11:59 AM in cell AG30 and 5:59 PM in Cell AG31 and in cell (AH33) is Good Morning, In Cell (AI33) Good Afternoon, in Cell (AJ33) is Good Evening for the IF formula below
=IF(AG33<=AG30,AH33, IF(AG33<AG31,AI33, IF(AG33>AG31, AJ33, "")))
The second one
=IF(AG33<=TIME(11,59,59),"Good Morning,",IF(AG33>=TIME(12,0,0),"Good Afternoon,",IF(AG33>=TIME(18,0,0),"Good Evening,""0")))
Any help would be appreciated