ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   geomean ignoring blank cells and chars (https://www.excelbanter.com/excel-worksheet-functions/9126-geomean-ignoring-blank-cells-chars.html)

Stan Altshuller

geomean ignoring blank cells and chars
 
Hi!

How can I make geomean(1+D2:D37) count ONLY the cells with numbers?

I am trying =GEOMEAN(1+IF(ISNUMBER(D2:D37),D2:D37))^12-1 using array
formula, its not working
Thanks!



[email protected]

Stan Altshuller wrote...
How can I make geomean(1+D2:D37) count ONLY the cells with numbers?

I am trying =GEOMEAN(1+IF(ISNUMBER(D2:D37),D2:D37))^12-1 using array
formula, its not working


You've misplaced the IF. Use

=GEOMEAN(IF(ISNUMBER(D2:D37),1+D2:D37))^12-1

And don't write 'its not working'. State exactly what happens (it
returns a wrong numeric result).



All times are GMT +1. The time now is 06:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com