Hello,
I want to work out the average.
I have three different types of data, private, military and teaching.
when i filter these data and work out the average.
when i select all the date the average changes.
If this makes any sense, how do i make it so the data will hold. so my answer will not change when changing the filters
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
C1 =AVERAGE(SUMIF(A:A,"Private",B:B)) or put the type into a cell and reference the cell instead of typing "Private" etc
Col A is type data, col B is numeric data
It's a difficult one to answer without seeing your spreadsheet, but if you're filtering your data, thereby hiding data that does not qualify against your selected filter, then the average will reflect only the data that is visible and will not take into account the hidden (filtered out) data. So when you filter, the average equation works only on the filtered data. When you remove the filter(s), the average equation works on all the data. The only way I can see to resolve this is have two tables, one with the all data unfiltered and another table with which you can filter. Then you could have two formulas, one to work out the average of all data (from the first table that's static) and one to work out the average on the second table (that you filter against).
Hopefully that helps.
nicely, the colours should not be too ambitious. They shouldn't make it troublesome to study the text cloth. hire borders so as that columns are uncomplicated to tell apart between, and alternating hues on each and each column is a robust theory too. do no longer make headers too super, or they are going to distract from the coaching. this is a extra suitable theory to easily make the headers ambitious, however the comparable text cloth length. do no longer use borders between rows very plenty, on account that they convey about a good number of muddle. in case you're including up numbers, do it with a formula, so as that it will constantly be precise, even once you adjust the values that are being further. That stuff would desire to get you going a minimum of.