Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default moving average & rank

have listing of stores and weekly sales, want to calculate the last four
weeks moving average, e.g, this week (wk4) would be weeks 1-4, next week
(wk5) would be weeks 2-5 and so forth.

second caluculation would be to rank the stores by weekly sales on same four
week moving average.
thx
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default moving average & rank

This can be done - but can you describe the layout of your data please.
Otherwise it's too confusing.

"reno" wrote:

have listing of stores and weekly sales, want to calculate the last four
weeks moving average, e.g, this week (wk4) would be weeks 1-4, next week
(wk5) would be weeks 2-5 and so forth.

second caluculation would be to rank the stores by weekly sales on same four
week moving average.
thx

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default moving average & rank

Store# run down Col1, then staring in col10..62 would be weekly sales,
cols2-9 are max qty sold, total sales, overall average sales, overall sales
rank and a few others, I am looking to put the 4 week moving average in col
8, 4 week moving rank in col 9

"dhstein" wrote:

This can be done - but can you describe the layout of your data please.
Otherwise it's too confusing.

"reno" wrote:

have listing of stores and weekly sales, want to calculate the last four
weeks moving average, e.g, this week (wk4) would be weeks 1-4, next week
(wk5) would be weeks 2-5 and so forth.

second caluculation would be to rank the stores by weekly sales on same four
week moving average.
thx

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default moving average & rank

OK so let's look at the formula needed in Cell H2. This should be the 4 week
moving average for Store #1 - I assume you have a header row.

=(INDEX($J2:$BI2,1,WEEKNUM(NOW(),1))+INDEX($J2:$BI 2,1,WEEKNUM(NOW(),1)-1)+INDEX($J2:$BI2,1,WEEKNUM(NOW(),1)-2)+INDEX($J2:$BI2,1,WEEKNUM(NOW(),1)-3))/4

This could be simplified if you had a value of WEEKNUM(NOW(),1) in a cell
location - then you could refer to that cell. See how you do with that, and
we can do the next part tomorrow


"reno" wrote:

Store# run down Col1, then staring in col10..62 would be weekly sales,
cols2-9 are max qty sold, total sales, overall average sales, overall sales
rank and a few others, I am looking to put the 4 week moving average in col
8, 4 week moving rank in col 9

"dhstein" wrote:

This can be done - but can you describe the layout of your data please.
Otherwise it's too confusing.

"reno" wrote:

have listing of stores and weekly sales, want to calculate the last four
weeks moving average, e.g, this week (wk4) would be weeks 1-4, next week
(wk5) would be weeks 2-5 and so forth.

second caluculation would be to rank the stores by weekly sales on same four
week moving average.
thx

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Average values for a given rank SteveC Excel Discussion (Misc queries) 3 August 1st 07 08:42 PM
moving average sgtmac Excel Discussion (Misc queries) 0 July 3rd 07 02:08 PM
Moving Average Chuck Excel Worksheet Functions 5 December 18th 06 06:26 PM
moving average Hunter Excel Worksheet Functions 4 August 25th 06 02:34 PM
how to do a 50 day and 200 day moving average giovanni Excel Discussion (Misc queries) 2 November 10th 05 02:10 PM


All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"