time sum formula using one cell and respective rows from one column and conditional formatting

PerryK

New Member
Joined
May 8, 2018
Messages
27
I have a running timer in cell E3. In column Q starting at row 5 and going down, I want to have a difference equation of the running time and the time as input into column O via a clickable cell. This essential will give it a look of a stop watch. The equation for one cell is simple enough =sum(E3-O5). What I am asking is how can I copy this formula through the entire column Q? If I drag the box in the right corner it changes E3 to each respective E cell below (i.e. =sum(E4-O6). is there a way to not have to manually go to 1000 cells and manually input E3 in the formula? Is there a macro I can create to do this using the VBE?

Also I am trying to do some conditional formatting in column Q as well and can't get it to work. I want the cell to be green from 0 to 45 mins. Yellow from 45 to 90 mins and red from 90 mins on. I have the cells formatted in 13:30:00 (hh:nn:ss), I have tried a few different formulas I've found on line, but haven't had any luck yet.

Thank you in advance
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
To anchor the E3 cell, use dollars like this:

Code:
=SUM($E$3-O5)

Then you can copy that down the sheet. For the conditional formatting, use formulas like this:

Code:
=Q5<=TIME(0,45,0)

Make sure you use "Stop if true" before adding the other ones for:

Code:
=Q5<=TIME(0,90,0)
=Q5>TIME(0,90,0)

WBD
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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