I have sheet that i’m using to track servicings on a machine.
I want to have a cell that I can put in hours the machine was used for. That value would then be added to another cell tracking total hours used and subtracted from another cell tracking when the next service is due. Finally I want the original cell to be deleted.
In the picture below I would enter hours used in cell D2. This value would be added to cell B2 and subtracted from cell C2 before clearing itself.
simplified Example of spreadsheet
Hope someone can help, many thanks.
I’ve tried adapting scripts i’ve seen on here, but I have almost no coding skill so have had no success
2
Answers
Thanks for your help,
I ended up with this script working for me
This should get you started: