SCOTTWHITTAKER2333
New Member
- Joined
- Jun 1, 2010
- Messages
- 32
I have a formula that averages a group of cells in different ways baced on certian criteria. What i need is a way to not use any of the cells in the range (F74;Y74) if they are less than the value of another cell. I could be wrong but I think the best way to do this would be with a macro.
This is the formula:
=IF(O21="lbs",IF(ISERROR(P21+SUM(F74:Y74))/COUNT(F74:Y74))*16,"",(P21+SUM(F74:Y74)/COUNT(F74:Y74))*16),IF(ISERROR(P21+SUM(F74:Y74)/COUNT(F74:Y74)),"",(P21+SUM(F74:Y74)/COUNT(F74:Y74))))
This is the formula:
=IF(O21="lbs",IF(ISERROR(P21+SUM(F74:Y74))/COUNT(F74:Y74))*16,"",(P21+SUM(F74:Y74)/COUNT(F74:Y74))*16),IF(ISERROR(P21+SUM(F74:Y74)/COUNT(F74:Y74)),"",(P21+SUM(F74:Y74)/COUNT(F74:Y74))))