Hello,
I am trying to figure out how to calculate on which month a vehicle maintenance is needed base off the miles per month, service interval, and odometer. For example, Bike 1 odometer is 0, drives 80 miles per month, and maintenance is needed every 300 miles. The first maintenance for Bike 1 will occur in April (80*4=320), the second maintenance will occur in August (80*8=640), and so on. Bike 2 odometer is 300, drives 120 miles per month, and maintenance is needed every 500 miles. The first maintenance for Bike 2 will occur in February since odometer is at 300 and two month of driving is 240 so (300+240=540). The second will occur after odometer will reach 1000 (July). Below in green is the month that maintenance is needed.
"Yes" for the green
"No" for the remaining
I tried multiple IFs but got stuck..
Thanks for any help.
I am trying to figure out how to calculate on which month a vehicle maintenance is needed base off the miles per month, service interval, and odometer. For example, Bike 1 odometer is 0, drives 80 miles per month, and maintenance is needed every 300 miles. The first maintenance for Bike 1 will occur in April (80*4=320), the second maintenance will occur in August (80*8=640), and so on. Bike 2 odometer is 300, drives 120 miles per month, and maintenance is needed every 500 miles. The first maintenance for Bike 2 will occur in February since odometer is at 300 and two month of driving is 240 so (300+240=540). The second will occur after odometer will reach 1000 (July). Below in green is the month that maintenance is needed.
"Yes" for the green
"No" for the remaining
I tried multiple IFs but got stuck..
Thanks for any help.