I have three values that I need to average, as long as they are w/in a specific range of another but to return a "fail" value is they are not falling w/in the limiting range.

Here's what I have:
A2: 7.46
A3: 9.47
A4: 7.47

If the values of the items listed above are w/in 0.1524 of another, the average can be applied. Such that - the values of A2 and A3 should not, being that they exceed said limit, but A2 and A4 can. Also, if say A3 and A4 "were" w/in the limits it would average those two values and return this value to the cell.

If ALL were w/in the specific range of another, they would all be averaged.

If NONE were w/in the specific range ( A2 and A3 or A3 and A4 or A2 and A4 ) of another specified, a FAIL result would be displayed.

I've tried to come up with if / and / or statements but I think this one is a bit more difficult than I can code so with humble regard I ask for assistance.

Thanks!