+ Reply to Thread
Results 1 to 4 of 4

Counting the cells in a column with data

  1. #1
    LaserDance
    Guest

    Counting the cells in a column with data

    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

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting the cells in a column with data

    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.

  3. #3
    LaserDance
    Guest

    Re: Counting the cells in a column with data

    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.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting the cells in a column with data

    The definition of COUNTA function:

    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.).
    So are your cells truly empty or null results from formulas? If so, perhaps:

    =COUNTIF(A1:A100,"?*")

    or

    =ROWS(A1:A100)-COUNTBLANK(A1:A100)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1