New Contributor

Good morning,

Thanks in advance for any help provided. Keep in mind, I'm plenty tech savvy but I am not super well versed in Excel. I am trying to figure out how I can build a service spreadsheet for my Company's heavy equipment. I'm trying to figure out how to build it where I simply key in the machine's hours and It tells me when it will be due for its next service. I of course will have other fields that won't change, such as machine serial, make, model, and location. Our equipment maintenance is based on hours of operation and normally machines get serviced every 500 hours. I would like for it to be able to flag a machine when it is within 20 hours of a service being due. For instance if I key in that a machine has 482 hours, it flags that machine and indicates that it will be due for service soon, maybe by turning a cell red or something of that nature. I also would like it to show when the next service is due, (Say I key in a machine that is at 899 hours its next service is due at 1,000 hours. If I could use the 500 hour service interval and get it to predict its next service due that would be top notch) Any help is greatly appreciated.

Thanks!

Nick

3 Replies

In my example i have formula

=500-MOD(C2,500)

to calculate the remaining hours until the next service and the rule

=IF(500-MOD(C2,500)<20,1)

for conditional formatting.

@Quadruple_Pawn Thanks for the response! That's a great idea to use hours until next service. I was able to get that formula to work on mine for the countdown. However what would be even better is if it read hours since last service and counted up. I attached my spreadsheet that I'm working on for reference. I got the "hours since last service" column to count up from the "last service" column, by entering the hours in the "hour reading" column and simply calculating the difference. However I would love for it to turn red when it goes over 500 hours since last service. I had some trouble getting your second formula to work. I attached the error I am given. Again sorry for the Excel ignorance, I just haven't used it much. Thanks again for your help

Home / Conditional formatting / New rule / Use a formula to determine which cells to format

Now you can enter a formula (rule) for conditional formatting in the field under:

Format values where this formula is true

In order to format the cells when column "hours since last service" is more than 500 enter below formula:

=IF(K4>500,1,0)