+ Reply to Thread
Results 1 to 5 of 5

How to count all cells within a column, that is, those containing characters AND blanks

  1. #1
    Registered User
    Join Date
    06-11-2015
    Location
    NE US
    MS-Off Ver
    2013
    Posts
    70

    How to count all cells within a column, that is, those containing characters AND blanks

    As the title says, how do I count all cells in a column, regardless of what the cell contains (character value or not).

    I understand I could just take the difference of where the column ends and starts, but since many of the columns are starting halfway down a spreadsheet it'd be easier to use a formula.

    Thanks.

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: How to count all cells within a column, that is, those containing characters AND blank

    Try:

    =COUNTA(range) ex: =COUNTA(A:A)

    count all cells that are not empty in column A
    If I've helped U pls click on d *Add Reputation

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: How to count all cells within a column, that is, those containing characters AND blank

    Something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Registered User
    Join Date
    06-11-2015
    Location
    NE US
    MS-Off Ver
    2013
    Posts
    70

    Re: How to count all cells within a column, that is, those containing characters AND blank

    Quote Originally Posted by Jacc View Post
    Something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Great, thank you, works wonderfully.

    Is there any way of getting around counting two or more merged cells as a single cell (which this formula does)?

    Thanks!

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: How to count all cells within a column, that is, those containing characters AND blank

    Good to hear it works!

    Uh... Merged cells are almost tabu here because they just cause trouble. I'm pretty sure it can't be done with formulas but with a UDF it may be possible.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 12-04-2014, 10:39 AM
  2. Replies: 2
    Last Post: 12-04-2014, 06:23 AM
  3. [SOLVED] VBA to count cells between blanks
    By marionette in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2014, 04:23 AM
  4. How to count x's in column but not blanks
    By Launchnet in forum Excel General
    Replies: 8
    Last Post: 05-27-2010, 12:16 AM
  5. Count cells without blank cells or space blanks
    By Zaeguzah in forum Excel General
    Replies: 12
    Last Post: 03-04-2010, 07:03 AM
  6. Count blanks cells
    By jmumby in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-09-2006, 05:52 AM
  7. Count Blanks in a Filtered Column
    By Gos-C in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 03-23-2006, 03:25 AM

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