Creating Average Values by spliced data

draconius

New Member
Joined
Aug 30, 2012
Messages
6
Is it possible to have the AVERAGE of data by the spliced category? IE., [TABLE="width: 300"]
<tbody>[TR]
[TD]January[/TD]
[TD]25[/TD]
[/TR]
[TR]
[TD]February[/TD]
[TD]35[/TD]
[/TR]
[TR]
[TD]March[/TD]
[TD]28[/TD]
[/TR]
[TR]
[TD]April[/TD]
[TD]36[/TD]
[/TR]
[TR]
[TD]May[/TD]
[TD]42[/TD]
[/TR]
[TR]
[TD]June[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]July[/TD]
[TD]29[/TD]
[/TR]
</tbody>[/TABLE]

If I splice out to select Q1 my value for the Chart would have a value of 29.3

Is that possible?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi draconius,
you could calculate that in 2 steps: 1) add a column with the quarter (hard-coded or with a formula) and 2) use an AVERAGEIF(S) formula to get the average of e.g. Q1. The alternative for 2) is to create a pivot table with the data and show the average value there.
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,224,118
Messages
6,176,483
Members
452,730
Latest member
palsmith

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top