I'm running into an issue providing data to our operations guys.
I have a list of part numbers, (some of which are duplicates) in column A.
In column B, I have a list of target "run times" for each part. (in minutes per piece)
In column C, I have a list of Actual Run times for those same parts.
I need to calculate a rolling average for each part number (removing duplicates) based on the last 5 or 10 jobs. since this isn't date-specific, and there are multiple occurrences of each item number, I don't know how to retrieve unique item records with a rolling average run time.
To complicate things further, this data is being pulled from a 'semi-live' ODBC connection to Access. I have the connection set to update every time the spreadsheet is opened. I prefer an excel formula solution, but if it would be easier to use VBA or alter my SQL statement that queries Access, I'll go that route.
Any guidance/solution would be greatly appreciated as I have been working on this for a few days now. Thanks in advance!
I have a list of part numbers, (some of which are duplicates) in column A.
In column B, I have a list of target "run times" for each part. (in minutes per piece)
In column C, I have a list of Actual Run times for those same parts.
I need to calculate a rolling average for each part number (removing duplicates) based on the last 5 or 10 jobs. since this isn't date-specific, and there are multiple occurrences of each item number, I don't know how to retrieve unique item records with a rolling average run time.
To complicate things further, this data is being pulled from a 'semi-live' ODBC connection to Access. I have the connection set to update every time the spreadsheet is opened. I prefer an excel formula solution, but if it would be easier to use VBA or alter my SQL statement that queries Access, I'll go that route.
Any guidance/solution would be greatly appreciated as I have been working on this for a few days now. Thanks in advance!