Generating statistics based on filtered tables

SNAPCymru

New Member
Joined
Sep 1, 2014
Messages
4
So I'm trying to get a spreadsheet to generate statistics based on results from webforms.

I have set up various formulas to count different responses which all works very well. But I want those statistics to be dependant on the filtering of the table that feeds them.

For example. I need stats to be split along which county the report was made in. So I can filter my table by county, but the stats generated by referring to the table range remain the same even after filtered.

Is there a way to make the formula respond to the filtering of the table.

I have tried to use pivot tables to accomplish this and while they work very well for the simple numerical data, they are not suitable for analysing more complex responses, at least not so far as I've been able to manage.

Whatever help or suggestion you can provide will be much appreciated.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
"subtotal" function have following values
1AVERAGE
2COUNT
3COUNTA
4MAX
5MIN
6PRODUCT
7STDEV
8STDEVP
9SUM
10VAR
11VAR

<tbody style="border-top-width: 1px; border-top-style: solid; border-color: rgb(204, 204, 204);">
</tbody>

subtotal function works only on visible data. you can use this to get statistics of filtered data
 
Upvote 0
If there are not too many different types of formulas, I would suggest using the IF function. If you can send the file, I can probably help you with the formula construction.
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

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