Hi
I need and average formula that looks at today month and then averages the results accordingly.
My data looks like this:
[TABLE="width: 504"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Month
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Revenue
[/TD]
[/TR]
[TR]
[TD]January
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 15,000.00[/TD]
[/TR]
[TR]
[TD]February[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 37,000.00[/TD]
[/TR]
[TR]
[TD]March[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 22,500.00[/TD]
[/TR]
[TR]
[TD]April[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 109,100.00
[/TD]
[/TR]
[TR]
[TD]June[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 32,940.00
[/TD]
[/TR]
[TR]
[TD]July[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 28,875.00
[/TD]
[/TR]
[TR]
[TD]August[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 37,865.00
[/TD]
[/TR]
[TR]
[TD]September[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 62,683.33
[/TD]
[/TR]
[TR]
[TD]October[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]November[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]December[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Totals[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 345,963.33
[/TD]
[/TR]
[TR]
[TD] Averages [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 28,830.28
[/TD]
[/TR]
</tbody>[/TABLE]
You can see from my example, the standard average formula gives me the result based on all 12 months.
I need the formula to follow the following logic:
Calculate Average of data in Column B based on months in column A (January through to current month)
I think I would need to use a combination of Aveage, Match and Index and date
Please help ?
Thank you
I need and average formula that looks at today month and then averages the results accordingly.
My data looks like this:
[TABLE="width: 504"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Month
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Revenue
[/TD]
[/TR]
[TR]
[TD]January
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 15,000.00[/TD]
[/TR]
[TR]
[TD]February[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 37,000.00[/TD]
[/TR]
[TR]
[TD]March[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 22,500.00[/TD]
[/TR]
[TR]
[TD]April[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 109,100.00
[/TD]
[/TR]
[TR]
[TD]June[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 32,940.00
[/TD]
[/TR]
[TR]
[TD]July[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 28,875.00
[/TD]
[/TR]
[TR]
[TD]August[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 37,865.00
[/TD]
[/TR]
[TR]
[TD]September[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 62,683.33
[/TD]
[/TR]
[TR]
[TD]October[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]November[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD]December[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Totals[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 345,963.33
[/TD]
[/TR]
[TR]
[TD] Averages [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] $ 28,830.28
[/TD]
[/TR]
</tbody>[/TABLE]
You can see from my example, the standard average formula gives me the result based on all 12 months.
I need the formula to follow the following logic:
Calculate Average of data in Column B based on months in column A (January through to current month)
I think I would need to use a combination of Aveage, Match and Index and date
Please help ?
Thank you