Excel Table Subtotal (Average or Average)

sjurawan

New Member
Joined
Nov 2, 2017
Messages
3
Hi all,

Was having some issues with the subtotal fuction in excel. I have a data set which has a list of percentages worked out with countif <= & > a certain date:
E.G
(IFERROR(SUM(COUNTIFS('CSAT Comments'!$D:$D,({"very-satisfied","satisfied"}),'CSAT Comments'!$B:$B,$A3,'CSAT Comments'!$A:$A,"<="&$B3))/COUNTIFS('CSAT Comments'!$B:$B,$A3,'CSAT Comments'!$A:$A,"<="&$B3),"").


[TABLE="width: 500"]
<tbody>[TR]
[TD]Training Date[/TD]
[TD]Pre Training [/TD]
[TD]Post Training[/TD]
[/TR]
[TR]
[TD]4/16/2018
[/TD]
[TD]75.86%
[/TD]
[TD]79.27%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]86.36%
[/TD]
[TD]75.68%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]84.00%
[/TD]
[TD]70.18%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]85.19%
[/TD]
[TD]82.56%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]81.58%
[/TD]
[TD]75.61%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]85.19%
[/TD]
[TD]89.41%
[/TD]
[/TR]
[TR]
[TD]4/16/2018[/TD]
[TD]83.82%
[/TD]
[TD]77.14%
[/TD]
[/TR]
[TR]
[TD]4/19/2018
[/TD]
[TD]74.00%
[/TD]
[TD]72.82%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]72.73%
[/TD]
[TD]70.00%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]91.49%
[/TD]
[TD]87.50%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]76.47%
[/TD]
[TD]85.51%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]93.62%
[/TD]
[TD]85.85%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]86.96%
[/TD]
[TD]81.25%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]63.64%
[/TD]
[TD]76.47%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]89.66%
[/TD]
[TD]86.96%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]77.78%
[/TD]
[TD]83.33%
[/TD]
[/TR]
[TR]
[TD]4/19/2018[/TD]
[TD]76.67%
[/TD]
[TD]85.71%
[/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]81.47%
[/TD]
[TD]80.31%
[/TD]
[/TR]
</tbody>[/TABLE]

The date changes row by row as different people were trained at different times.

I added the total from the design tab but when selecting average it is an average of an average. What I want to do is have a formula which performs the calculation on the entire data source. Meaning all of the dates would be taken into consideration. I know this may not be explained very well but please offer any advice if you can! Thank you very much!

Sam
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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