i need to calculate geomean for approximately 20000 cells in a column. the problem is there are blank spaces within the rows. i am not sure if there are any zeroes however i know this can be avoided with the if function and im pretty sure there arent any negatives. i know that the data is probably too much to use geomean alone and i used a formula array along the lines of =exp(average(ln(a1:a20000))) and used ctrl shift enter, yet i still get the #### error. what do i do?
Try
=geomean(if(a1:a20000>0, a1:a20000))
... confirmed with Ctrl+Shift+Enter.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
The formula MUST be confirmed with Ctrl+Shift+Enter rather than just Enter.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
#### error whats that? afaik ### only shows if your column is too narrow or you are using negative dates
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Is it possible that your data is text-formatted? As a test try this formula
=COUNT(A1:A20000)
what result do you get?
Audere est facere
must be something wrong with the values then
see attached using both versions once without and once with blank cells
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks