I have a set of balances with dates in them. The dates don't follow a full 365, rather the dates listed generally have the same balance or when the balance changes a new date is listed. For example:
<tbody>
</tbody>
I have several years worth of data similar to the above. I have a pretty graph showing the dates and balances throughout the years, but what I want is the actual average balance for each year. When I do a simple =average(B1:B15), it gives me an average of $201,967.92. I believe this isn't properly accounting for a full 365 days worth of numbers. When I listed out the numbers on a full 365 days in excel, I get a true average for the whole year of $199,974.44.
How do I go about getting the proper average for the year without having to list a balance for every day of the year?
Furthermore, how do I do so for ever year before and after that? I was working with =AVERAGE(IF(YEAR(A1:A15)=2014,B1:B15)). This allows me to change each year in the formula for every year I need (by changing 2014 in the formula to 2015, 2016, etc.), but it is not accounting for the balances between the dates over a full 365 days. Or am I overthinking this?
A | B | |
1 | 1/3/14 | $156,358.21 |
2 | 1/27/14 | $156,358.21 |
3 | 2/13/14 | $156,358.21 |
4 | 3/17/14 | $156,358.21 |
5 | 4/11/14 | $156,358.21 |
6 | 5/15/14 | $221,356.33 |
7 | 5/20/14 | $221,356.33 |
8 | 6/6/14 | $221,356.33 |
9 | 7/15/14 | $221,356.33 |
10 | 8/15/14 | $221,356.33 |
11 | 9/11/14 | $221,356.33 |
12 | 9/17/14 | $229,897.45 |
13 | 10/10/14 | $229,897.45 |
14 | 11/13/14 | $229,897.45 |
15 | 12/12/14 | $229,897.45 |
<tbody>
</tbody>
I have several years worth of data similar to the above. I have a pretty graph showing the dates and balances throughout the years, but what I want is the actual average balance for each year. When I do a simple =average(B1:B15), it gives me an average of $201,967.92. I believe this isn't properly accounting for a full 365 days worth of numbers. When I listed out the numbers on a full 365 days in excel, I get a true average for the whole year of $199,974.44.
How do I go about getting the proper average for the year without having to list a balance for every day of the year?
Furthermore, how do I do so for ever year before and after that? I was working with =AVERAGE(IF(YEAR(A1:A15)=2014,B1:B15)). This allows me to change each year in the formula for every year I need (by changing 2014 in the formula to 2015, 2016, etc.), but it is not accounting for the balances between the dates over a full 365 days. Or am I overthinking this?