B
brett.kaplan
Hi,
I'm looking to create a formula where if I have a list of anywhere
between 3 and 10 numbers, I automatically exclude the max and the min,
and average the remaining. However, if I have only have 1, I take
that as is, and if I have 2, I average those 2.
For instance, the results should be the below:
List: 1, 7, 7, 7, 7, 7, 7, 7, 7, 10
Result: 7
List: 1, 7, 10
Result: 7
List: 7, 10
Result: 8.5
List: 1
Result: 1
I'm currently using several IF statements and averaging a bunch of
LARGE formulas within the IF statement, but is there a cleaner way to
do this?
Thanks!
Brett
I'm looking to create a formula where if I have a list of anywhere
between 3 and 10 numbers, I automatically exclude the max and the min,
and average the remaining. However, if I have only have 1, I take
that as is, and if I have 2, I average those 2.
For instance, the results should be the below:
List: 1, 7, 7, 7, 7, 7, 7, 7, 7, 10
Result: 7
List: 1, 7, 10
Result: 7
List: 7, 10
Result: 8.5
List: 1
Result: 1
I'm currently using several IF statements and averaging a bunch of
LARGE formulas within the IF statement, but is there a cleaner way to
do this?
Thanks!
Brett