If I have a set of results like this one: {1, 3, 2, 5, 8, 1, 100, 150, 1, 3, 8, 3000}
And I want to calculate an average disregarding values that are really different from most of the result set {100, 150, 3000} is there any formula I can apply?
Thanks in advance (hope I haven't broken any rule from this SE) :)