I took a quick stab at changing my spreadsheet, but I also tried to simplify it (like no longer tracking eUps since it's very hard with intermittent expiry, and I never run out anyway).
But it's really just "stick in the distance and cost and it calculates SQC and LQM". Nothing fancy.