The answer initially seems simple .. except that COUNTBLANK(C:C) returns a count of the [empty] cells in the column beyond the end of the actual data.
For example, my test worksheet has data in rows 1 thru 25, except for rows 1, 2 & 9 being blank. The formula =COUNTA(C:C) correctly returns 22. Not other columns have data beyond Column 25 - amd if I do Ctrl-End I get positioned on cell Y25, clearly Excel knows there are is more data in any row beyond row 25.
However the formula =COUNTBLANK( C:C ) returns 1048554, not 3 as I expect / want.
The reason I want this is to determine if any data is missing in column C after the heading rows; rows 1-3 are "heading" rows so I want to eliminate them from the check. That is, I want to test that all rows from row 4 to the end have a value. Simple formula for values existing is =COUNTA( C:C ) - COUNTA( C$1:C3 ).
I was hoping counting blanks using =COUNTBLANK( C:C ) - COUNTBLANK( C$1:C3 ) would have given me the answer 1 in this example. I would display this reuslt at the top of the worksheet so I can alert the user to something being wrong if it was > 0.
Sadly COUNTBLANK is not doing it for me. Does anyone know a simple way (ideally not an array formula, & definitely not VBA - needs to work when using Excel Online) to achieve the result I want? I was wondering if SUMPRODUCT could do it but I have no experience with it, yet.
Many thanks.
For example, my test worksheet has data in rows 1 thru 25, except for rows 1, 2 & 9 being blank. The formula =COUNTA(C:C) correctly returns 22. Not other columns have data beyond Column 25 - amd if I do Ctrl-End I get positioned on cell Y25, clearly Excel knows there are is more data in any row beyond row 25.
However the formula =COUNTBLANK( C:C ) returns 1048554, not 3 as I expect / want.
The reason I want this is to determine if any data is missing in column C after the heading rows; rows 1-3 are "heading" rows so I want to eliminate them from the check. That is, I want to test that all rows from row 4 to the end have a value. Simple formula for values existing is =COUNTA( C:C ) - COUNTA( C$1:C3 ).
I was hoping counting blanks using =COUNTBLANK( C:C ) - COUNTBLANK( C$1:C3 ) would have given me the answer 1 in this example. I would display this reuslt at the top of the worksheet so I can alert the user to something being wrong if it was > 0.
Sadly COUNTBLANK is not doing it for me. Does anyone know a simple way (ideally not an array formula, & definitely not VBA - needs to work when using Excel Online) to achieve the result I want? I was wondering if SUMPRODUCT could do it but I have no experience with it, yet.
Many thanks.