ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   The blank cells i need to count have formilas in (https://www.excelbanter.com/excel-worksheet-functions/253728-blank-cells-i-need-count-have-formilas.html)

Rubber 4 u

The blank cells i need to count have formilas in
 
How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista

Squeaky

The blank cells i need to count have formilas in
 
Hi Rubber,

If the blank cells with a formula in them has the value of zero, use COUNTA
to count the cells and COUNTIF to count the zero values in each range, then
subtract the two.

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)

or fully

=COUNTA(F12:F17)-COUNTIF(F12:F17,0)+COUNTA(g23:g30)-COUNTIF(g23:g30,0)+COUNTA(h5:h10)-COUNTIF(h5:h10,0)

Squeaky

"Rubber 4 u" wrote:

How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista


Max

The blank cells i need to count have formilas in
 
Maybe you meant something like this:
=SUMPRODUCT(--(TRIM(A2:B10)<""))
which counts populated cells within the range excluding formulas returning
either "blank" or returning invisible white spaces
Spot on? celebrate it, hit the YES below
--
Max
Singapore
---
"Rubber 4 u" wrote:
How do i write a fromula to add together diffeent ranges of cells that will
count blank cells even if the blank has a formula in it.
f 17:f12 + g23:g30+h5:h10 = 8
using excel 2007Vista



All times are GMT +1. The time now is 04:40 AM.

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