Taking Average ignoring #DIV/0! in the range...



Currently if I use the average function for the months, it will show the
results to be "#DIV/0!".

What formula can I use such that when theres only data for 4 months, it will
only take average of 4 months and if theres 5 months data it will only take
average of 5 months and so on instead of showing me "#DIV/0!".

Please help. Thanks!

1 January 100.00%
2 February 100.00%
3 March 100.00%
4 April 13.33%
5 May #DIV/0!
6 June #DIV/0!
7 July #DIV/0!
8 August #DIV/0!
9 September #DIV/0!
10 October #DIV/0!
11 November #DIV/0!
12 December #DIV/0!
14 Avg. (%) #DIV/0!



T. Valko

The easiest way to handle this would be to change the formulas so they don't
return errors. For example:


These will ignore the errors:


This one is an array formula** :


** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question