***I've bumped this and edited the first post to reflect the entire evolution of my thinking on this problem.***
I'm working with a locksmith shop to develop a schedule for purchases of key blanks. Based on recent and future blank purchases, I want to produce a running average of the blanks that are consumed.
Each model of key blank is purchased when its supply is exhausted. This happens at irregular intervals. Sometimes several models are purchased in an order and sometimes just one.
A sample spreadsheet, with just two blank models and four dates, is included. (Excel 2007.)
If I knew how to construct the formula, here's what it would do:
1) count the days between the first and last purchase, for a given key blank
2) sum all the purchases for that key blank, less the final purchase*
3) divide the sum from step 2 by the number of days from step 1, for a daily average
4) multiply the quotient from step 3 by 7 to get weekly usage (or 14 or 30)**
Thanks for any help you can provide!
*We omit the final purchase from the sum because without the next purchase date, we can't determine how quickly the new keys will be consumed. We use the date of final purchase as a proxy for when the second to last purchase was exhausted.
**This average could be weekly, biweekly, or monthly, depending on the multiplier that we plug in here. I'm not clear yet on what would be most useful, but I'm starting with weekly.
Bookmarks