Does anybody know how to compute a running best quarter (3 months) and year (12 months)?
So, if I've got data that spans over 5 years on a monthly basis and I wanted to know what my best and worst consecutive 3/12 month segments were, what formula would I use?
Can the three consecutive months be any three consecutive months or do they have to be in the proper quarters ?
What I mean is the standard quarters may be :
[pre]
Code:
Jan - Mar
Apr - Jun
Jul - Sep
Oct - Dec
[/pre]
or any other fixed set of quarters ; so will only the three consecutive months that fall in one set be counted , or can it be any three consecutive months e.g. Feb-Apr , Sep - Nov ,... ?
I am not sure what output you would like to get. See attached file. The first part is used 3 Months in a cell & used SUMPRODUCT. And calculate each years total & finally used INDEX/MATCH with MAX.
The 2nd one , is used without any helper. Just enter years in columns & underneath can see 3 consecutive months.
Haseeb, that's some insane work on that sheet. It's pretty close to what I need so I should be able to tweak it a bit to get the results I require. I'm not sure what some of the formulas mean but I'm working on figuring out.