Forum Discussion
Denjg
Jun 18, 2024Copper Contributor
conditional formating with time (hours)
I have three columns, first one with break time out and second with break time in. The third have to show the difference and if it is grater than one hour it has to show in red text. times are entere...
- Jun 18, 2024
Denjg I'd recommend you to enter the times with a colon rather than a decimal point. That turns them into real time values without the need to convert them first. Then it will look like this:
with conditional formatting in Excel for the Web:
Note that 1 hour is represented by the numerical value of 1 / 24 = 0.04166667
Zendebar
Jun 18, 2024Copper Contributor
=ABS(A2-B2)*24 > 1
Denjg
Jun 18, 2024Copper Contributor
Thank you for replying.
But, what I want is the third column shows the time taken (difference in hour, minute format (eg: 01:20) and if it is greater than one hour then it itself have to be shown in red color )
But, what I want is the third column shows the time taken (difference in hour, minute format (eg: 01:20) and if it is greater than one hour then it itself have to be shown in red color )