Hi all
With my spreadsheet, and using the Conditional Formatting tool, I am trying to format times before 7AM & after 7PM to identify them more easily.
I tested my formula in a cell on the sheet to prove it works…
“=IF(OR(TIMEVALUE(B2)<0.291665,TIMEVALUE(B2)>0.791667),1,2)”, and it does, returning 1 & 2 where expected.
Using “=OR(TIMEVALUE(B2)<0.291665,TIMEVALUE(B2)>0.791667)” in the ‘Use a formula…’ dialog box does not work for some reason.
My spreadsheet is generated by SAP, with the times initially formatted as text and I wonder whether that may be a possible reason?
I have tried to reformat using various time formats without success; however the formula entered in the sheet recognises all of them (clear the formula results, change the format, reapply the formula…all good).
I have also tried to format the ‘time’ cell based on the value of the ‘formula’ cell, but no joy.
Attached is a simple part my spreadsheet.
Hoping someone has solved this previously.
Any help is much appreciated,
Regards
Mark
With my spreadsheet, and using the Conditional Formatting tool, I am trying to format times before 7AM & after 7PM to identify them more easily.
I tested my formula in a cell on the sheet to prove it works…
“=IF(OR(TIMEVALUE(B2)<0.291665,TIMEVALUE(B2)>0.791667),1,2)”, and it does, returning 1 & 2 where expected.
Using “=OR(TIMEVALUE(B2)<0.291665,TIMEVALUE(B2)>0.791667)” in the ‘Use a formula…’ dialog box does not work for some reason.
My spreadsheet is generated by SAP, with the times initially formatted as text and I wonder whether that may be a possible reason?
I have tried to reformat using various time formats without success; however the formula entered in the sheet recognises all of them (clear the formula results, change the format, reapply the formula…all good).
I have also tried to format the ‘time’ cell based on the value of the ‘formula’ cell, but no joy.
Attached is a simple part my spreadsheet.
Hoping someone has solved this previously.
Any help is much appreciated,
Regards
Mark