Out of curiosity, I ran a crude check and it does run about 20% faster
than the array formula equivalent. Usually with a one off entry time
won't be a consideration these days but I tend to prefer non-array
solutions and often , for novices, they are easier to understand.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
Wednesday Public Holidays: Croatia (Statehood Day); Mozambique
(Independence Day); Slovenia (Slovenia Day)
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
The 1st formula {=AVERAGE(IF(A1:A10,A1:A10))} gives an error if there are cells containing
text in the range. If that's a possibility, your suggested formula is required. If it isn't --
the data is all numeric or empty -- the AVERAGE formula is sufficient.
If there are error values in the range, neither one filters those out.
I was just looking at a comparison of that array formula and the
non-array formula. But perhaps not a good comparison as, you've noted,
they are not equivalents with different data.
But on like for like I'll go for your non-array entered formula in
preference to array entered. I don't think that time aspects are
likely to be relevant very often with an average even if they are much
different.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
Thursday Public Holidays: None (which must be a reason to celebrate).
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
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.