simonedeane1986
New Member
- Joined
- Mar 14, 2024
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hello Brains Trust!
I have a spreadsheet where i'm calculating, among other things, percentages down a column. I need to filter the various other columns against differing criteria with simple drop down filters.
Most cells in this percentage column will have a number, but some are zero.
I have managed to average all cells in the column and exclude the zeros using the formula =AVERAGEIFS(N5:N250,N5:N250,"<>0")
However, i would also like to be able to calculate what the average percentage of this column is when the other columns are filtered, whilst excluding any zero values.
(I can give a filtered average using the SUBTOTAL(1) function, but this still includes the zero values)
I cannot seem to find a way to do this?
Does anyone know of a solution to this problem?
Thanks!
I have a spreadsheet where i'm calculating, among other things, percentages down a column. I need to filter the various other columns against differing criteria with simple drop down filters.
Most cells in this percentage column will have a number, but some are zero.
I have managed to average all cells in the column and exclude the zeros using the formula =AVERAGEIFS(N5:N250,N5:N250,"<>0")
However, i would also like to be able to calculate what the average percentage of this column is when the other columns are filtered, whilst excluding any zero values.
(I can give a filtered average using the SUBTOTAL(1) function, but this still includes the zero values)
I cannot seem to find a way to do this?
Does anyone know of a solution to this problem?
Thanks!