--------------------------------------------------------------------------------
Hi, I have a set of data with column a- week number, b- year and c- sales, all data on a daily(!) basis. What I need is to have the highest sales number for a given week (say, week 50, 53, or 1, etc)
the piece of data goes this way (random week):
45 2009 $1500
45 2009 $1600
45 2009 $1200
45 2009 $1350
45 2009 $2000
45 2009 $2500
45 2009 $1100
...
What is the best formula to use for this? I know it is a combination of offset and something else but I can't seem to get my head around this - the formula needs to recognize the week in a given year - take that week's range and take the maximum value of the range. So in cell D I will be seeing (in this example) - $2500 for all 7 days.
Finally, the week number (and year) is going to be changing - so after 7 cells there will be week 46, 47, 52, 53, 1..etc, for each week there will be 7 days of sales numbers - it would be great to have a dynamic formula.
The end pupose is to create a "range" graph where you have a weekly MAX and MIN range and the line representing the daily sales within that range.
Any help much appreciated,
IK
Hi, I have a set of data with column a- week number, b- year and c- sales, all data on a daily(!) basis. What I need is to have the highest sales number for a given week (say, week 50, 53, or 1, etc)
the piece of data goes this way (random week):
45 2009 $1500
45 2009 $1600
45 2009 $1200
45 2009 $1350
45 2009 $2000
45 2009 $2500
45 2009 $1100
...
What is the best formula to use for this? I know it is a combination of offset and something else but I can't seem to get my head around this - the formula needs to recognize the week in a given year - take that week's range and take the maximum value of the range. So in cell D I will be seeing (in this example) - $2500 for all 7 days.
Finally, the week number (and year) is going to be changing - so after 7 cells there will be week 46, 47, 52, 53, 1..etc, for each week there will be 7 days of sales numbers - it would be great to have a dynamic formula.
The end pupose is to create a "range" graph where you have a weekly MAX and MIN range and the line representing the daily sales within that range.
Any help much appreciated,
IK