Time help required

nick_bishop68

New Member
Joined
Jan 22, 2017
Messages
1
I have a “time taken” to work sheet set up but want to add an additional feature. Its set up to log in and log out and works out the time taken to process. I want to add a feature that once logged in, if not logged out in under 1 hour either a cell or the row turns red as a warning.

When anything (“text”) is entered into a cell D5 (logged in),then the current time is entered into E5.
=IF(D7<>"",IF(E7="",NOW(),E7),"")<o:p></o:p>

Then, when logged out, by entering “text” into F5, thecurrent time is entered into G5.<o:p></o:p>
=IF(F5<>"",IF(G5="",NOW(),G5),"")<o:p></o:p>
The time taken is calculated in Q5. <o:p></o:p>
=IF(G5="","",(G5-E5))<o:p></o:p>
How do I turn a cell or cell or row RED (or another alerting method)if cell E5 is +1hour and F5 (and G5) are blank (not logged out)?<o:p></o:p>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Time is just a number, and is a fraction of 1 day. So 1 hour is 1/24.

Does that help?
 
Upvote 0

Forum statistics

Threads
1,223,708
Messages
6,174,006
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top