Hello All, I can't seem to find a solution via the search so I thought I'd post my issue.
I've exhausted all my knowledge plus what I could gather on google.
Lets say I have a range of cells (C2:Q2) that are populated with a value via a formula. I'm then trying to take the average of the 6 smallest numbers in that range (if there are at least 3 values present). The formula works if there are 3 or less values present or 6 or more values present but it's struggling with 4 or 5 values present.
My formula looks like this: =IF(COUNT($C2:$Q2)>3,AVERAGE(SMALL($C2:$Q2,{1,2,3,4,5,6})),$R2)
If there are more than 3 values present then average the 6 lowest values, if 3 or less values than display the value in R2.
The issue I'm running into is excel (version 2010) views the blanks (not empty) as #NUM.
So my question is, how can I get it to calculate the average of the 6 smallest numbers ignoring the blanks or #NUM.
Note: The range of cells C2:Q2 are blank... populated with a "" in the formula that fills those cells.
Hope that makes sense and appreciate any assistance you can provide.
Bookmarks