I have a set of data that's row-by-row very similar to the temperature ranges for each month but my values are all positive real numbers (#s> 0 with potential decimal values out to four (4) digits). Each month is a single row. Here's the general structure:
Col: B D E AM AO AP (see explanation below)
Date High Low Range Range %
01/01/2008 53 42 11 (53-42)*100/42
02/01/2008 56 38 18 (56-38)*100/38
03/01/2008 65 41 24 (65-41)*100/41
04/01/2008 74 40 34 (74-40)*100/40
....
01/01/2019
02/01/2019
03/01/2019
04/01/2019
05/01/2019
When I attempt to determine my AVERAGE Range or AVERAGE Range % for each month of the year (1, 2, 3, 4.....) I always get the same value.
Here's my Excel function for the average based upon the month of the year
AP5 would have 2 for February; AP6 would have 3 for March etc. I have Column AP containing the month numbers of the year (1 for January, 2 for February, etc. in Number format). Hence, there are twelve (12) rows with the numbers 1 through 12, inclusive.
I do this at the top of my spreadsheet for easy viewing.
Obviously, there aren't nearly 5000 months from 01/01/2008 (mm/dd/ccyy format). What I wanted the above AVERAGE function to do is to determine the average monthly Range % for all January months since 2008 (or whenever), same for February etc. Hence, from
2008 through 2019 there would be twelve (12) Januarys but, currently, eleven (11) Junes since June 2019 hasn't ended.
FWIW, the value I get is the same and it's 30 for each month. Obviously, temperatures (in this example) would not give the same average each month.
What am I doing wrong?
TIA