Hi folks,
I have a long column with many empty cells, but some of them contain data. I need a formula which can count ONLY that cells which contain data. Any help ?
Thank you
Hi folks,
I have a long column with many empty cells, but some of them contain data. I need a formula which can count ONLY that cells which contain data. Any help ?
Thank you
Have a look at the COUNTA() function.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Fine, but counta function counts also the empty cells. I do not need them and I do not know how to combine that fuction with another, probably isblank or something like that.
The definition of COUNTA function:
So are your cells truly empty or null results from formulas? If so, perhaps:The COUNTA function counts the number of cells that are not empty in a range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.).
=COUNTIF(A1:A100,"?*")
or
=ROWS(A1:A100)-COUNTBLANK(A1:A100)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks