Conditional formatting in Google sheets

kevinc1973

New Member
Joined
Jun 20, 2019
Messages
22
Good morning all,
I am working on a spreadsheet in Google sheets and I would like to do conditional formatting on a cell. I have 2 cells c5 and n5, n5 is the milage of last time the truck went in for a pm. C5 is when the truck went in for a certain repair. I would like to change the cell c5 to yellow when it gets within 1500 miles of the last time it was in for a pm and red when it is equal to or greater than the last time it was in. I would also need it to stay white if it is more than 1500 miles from the last pm. Any ideas everything I tried it seems to cancel each other out. It is most likely the way I am wording the formulas but thanks in advance.
Kevin
 

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.

Forum statistics

Threads
1,215,200
Messages
6,123,601
Members
449,109
Latest member
Sebas8956

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