A resource for users and developers of Microsoft Excel |
|||||||||
| Email us your FAQ suggestion. |
|||||||||
Visit often ! Pages are updated daily. |
|||||||||
This is the Excel "How to" Frequently Asked Questions page |
|||||||||
Answers to Frequently Asked Questions about how to do common tasks in Microsoft Excel. |
|||||||||
Excel "How to" FAQs |
| How to average a range of numbers while disregarding zeros? |
| Example |
|
| Formulas |
The picture shows various scenarios for conditional averages based on the numbers in range A1:A10. In cell D1 the formula for a simple average is In cell D2, the formula to average a list of numbers while omitting zeros is In cell D3, the formula to average only positive numbers is In cell D5, the formula to return the maximum (largest) number is In cell D6, the formula to return the minimum (smallest) number is In cell D8, the formula to average all numbers except the largest number is In cell D9, the formula to average all numbers except the smallest number is In cell D10, the formula to average all numbers except the largest number and the smallest number is
|