Skip Bisconer
Who Me?
- Local time
- Today, 02:55
- Joined
- Jan 22, 2008
- Messages
- 285
I have searched for an answer here but I suppose I am not wording my search properly. I have a query with inventory records with a 24 month history of sales labeled M1 through M24.
When analalizing economic order quantities and some other calculations to reveal excessive inventory by item my user must be able to grab the last seven months of sales units and take an average to use in other calculations.
In Excel I would just do a Sum(M1:M7)/7 but this doesn't seem to work in Access and Access help on summing gives no examples of what I need to do. I am currently just manually doing a Exp (M1+M2... etc)/7 but my problem with that is when every month changes the user has to move forward one month. Having the user enter this in a [What Months ] query parameter could lead to critical errors.
If I can find the right function I would then be able to make it easier for the user to do this when using the query. Any help or ideas would be appreciated.
When analalizing economic order quantities and some other calculations to reveal excessive inventory by item my user must be able to grab the last seven months of sales units and take an average to use in other calculations.
In Excel I would just do a Sum(M1:M7)/7 but this doesn't seem to work in Access and Access help on summing gives no examples of what I need to do. I am currently just manually doing a Exp (M1+M2... etc)/7 but my problem with that is when every month changes the user has to move forward one month. Having the user enter this in a [What Months ] query parameter could lead to critical errors.
If I can find the right function I would then be able to make it easier for the user to do this when using the query. Any help or ideas would be appreciated.