Hello, I currently have a sheet where a formula delivers the largest 3 numbers sorted in order from a maximum 6 rows of data.
I then run another formula that averages that returned data - eg the average of the 3 highest values.
=AVERAGEIF(AJ4:AJ6,"<>0")
Sometimes I get some anomalies where the original 3 returned numbers will not be as close to each other in values (as they should be).
What I would like to be able to do it to eliminate any number that is, say .50 less than the largest number, and then average the remaining.
For example, if the original returned numbers were 20.69, 20.49, 20.09 - I would like to eliminate the 20.09 and then calculate the average of the other 2 numbers.
Is there something that I can add to my existing formula - =AVERAGEIF(AJ4:AJ6,"<>0") - that will eliminate anything more than .5 less than the highest number in the range and then calculate the average?
Many thanks
Gary
Bookmarks