Hi All,
I am trying to make a Gantt chart with a twist! I wish to split each day into AM and PM sessions. However I am looking for a formula that will work with conditional formatting, such that if the time is between 00:00-11:59 the cell is highlighted, and when the time is between 12:00-23:59 the corresponding cell is highlighted and the previous one is un-highlighted. I would be happy if the changes were updated when the workbook is saved, as I am sure the now formula should be used, and I understand it won't show until refreshed/saved.
I have added the "date and time" as an excel serial (so 44892 represents 27/11/22 AM and 44892.5 is 27/11/22 PM). So I am trying to link my NOW() or TODAY() formula to this value, but it just keeps churning out rubbish.
Non-macros preferred please, but open to VBA.
Any and all help would be appreciated.
I am trying to make a Gantt chart with a twist! I wish to split each day into AM and PM sessions. However I am looking for a formula that will work with conditional formatting, such that if the time is between 00:00-11:59 the cell is highlighted, and when the time is between 12:00-23:59 the corresponding cell is highlighted and the previous one is un-highlighted. I would be happy if the changes were updated when the workbook is saved, as I am sure the now formula should be used, and I understand it won't show until refreshed/saved.
I have added the "date and time" as an excel serial (so 44892 represents 27/11/22 AM and 44892.5 is 27/11/22 PM). So I am trying to link my NOW() or TODAY() formula to this value, but it just keeps churning out rubbish.
Non-macros preferred please, but open to VBA.
Any and all help would be appreciated.