A comprehensive suite of productivity tools and cloud services that enhance collaboration, communication, and efficiency. Combining classic Office apps with advanced Microsoft 365 features, it supports both personal and business needs
If there are no number values in some of these averages, it returns #DIV/. What is the best way to exclude the averages that don't contain #'s?
A second question is what formula would I need to use to determine the next largest and so on?
Thank you
=MAX(AVERAGE($B$10:$B$21),AVERAGE($C$10:$C$21),AVERAGE($D$10:$D$21),AVERAGE($E$10:$E$21),AVERAGE($F$10:$F$21),AVERAGE($G$10:$G$21),AVERAGE($H$10:$H$21),AVERAGE($I$10:$I$21),AVERAGE($J$10:$J$21),AVERAGE($K$10:$K$21))
Why not use a summay row?
On row 22 enter a formula like this in B22:
=IF(COUNT(B10:B21),AVERAGE(B10:B21),"")
Copy across to K22
Then your MAX formula is simple:
=MAX(B22:K22)
And for the nth largest value:
=LARGE(B22:K22,n)
Where n = the nth value you want.
--
Biff
Microsoft Excel MVP