ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Highlight a cell if time for task is over one hour (https://www.excelbanter.com/excel-discussion-misc-queries/265039-highlight-cell-if-time-task-over-one-hour.html)

Steve M

Highlight a cell if time for task is over one hour
 
Hi
I would like to be able to highlight a cell to show if a start time in
column a and a finish time in column f was over 1 hour. The highlighted cell
could be the finish time cell or a cell next to it. Any help would be great.
Thankyou

Time format I have in cells is hh:mm

cheers

Bob Phillips[_4_]

Highlight a cell if time for task is over one hour
 
Use conditional formatting with a formula of

=(F2-A2)=--"01:00"

--

HTH

Bob

"Steve M" wrote in message
...
Hi
I would like to be able to highlight a cell to show if a start time in
column a and a finish time in column f was over 1 hour. The highlighted
cell
could be the finish time cell or a cell next to it. Any help would be
great.
Thankyou

Time format I have in cells is hh:mm

cheers




Steve M

Highlight a cell if time for task is over one hour
 
Brilliant worked a treat thanks.

I also wondered if I could do something similar with another sheet where I
could find out if the start time and finish time where over 12 hours. The
cell format for these dd/mm/yy hh:mm. Start time cell C and Finish time cell
L. Some of the times can run into a few days between start and finish so
need it to work with the date too. Hope that makes sense.

"Bob Phillips" wrote:

Use conditional formatting with a formula of

=(F2-A2)=--"01:00"

--

HTH

Bob

"Steve M" wrote in message
...
Hi
I would like to be able to highlight a cell to show if a start time in
column a and a finish time in column f was over 1 hour. The highlighted
cell
could be the finish time cell or a cell next to it. Any help would be
great.
Thankyou

Time format I have in cells is hh:mm

cheers



.


Steve M

Highlight a cell if time for task is over one hour
 
Apologies, the formla works fine for my second question also.
many thanks

"Steve M" wrote:

Hi
I would like to be able to highlight a cell to show if a start time in
column a and a finish time in column f was over 1 hour. The highlighted cell
could be the finish time cell or a cell next to it. Any help would be great.
Thankyou

Time format I have in cells is hh:mm

cheers



All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com