+ Reply to Thread
Results 1 to 5 of 5

Find count of filled cells and empty cells in a column

  1. #1
    Registered User
    Join Date
    03-04-2015
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    23

    Arrow Find count of filled cells and empty cells in a column

    So, I have a lot of data and I need to quantify the completeness of the data.

    An easy way to do this would be a quick way to get a count from the first cell with data in it to the last cell with data in it and ALSO a count of how many cells between are EMPTY.

    Is there a way someone is aware of to do this?

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Find count of filled cells and empty cells in a column

    Wouldn't =COUNTA and =COUNTBLANK accomplish this?

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Find count of filled cells and empty cells in a column

    NEW FORMULAS...CORRECTED AN ERROR THAT IGNORED NUMERIC ENTRIES
    This formula returns the count of rows between the first non-blank Col_A cell and the last non-blank Col_A cell, inclusive:
    Please Login or Register  to view this content.
    This formula returns the count of blank cells between the first non-blank Col_A cell and the last non-blank Col_A cell, inclusive:
    Please Login or Register  to view this content.
    Note: It would be better to NOT reference an entire column. So, if you have reasonable row limit assumptions, I'd encourage you to employ them.

    Is that something you can work with?
    Last edited by Ron Coderre; 09-22-2015 at 09:13 AM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Find count of filled cells and empty cells in a column

    With the values (text or numbers) starting and ending somewhere in column A, I entered this formula in C1 to locate the first value. Change the size of the ranges to suit your data. Avoid full column references if at all possible.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter with Ctrl + Shift + Enter

    In C2 enter this formula to locate the last value.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The number of blank cells between the values calculated above:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by newdoverman; 09-22-2015 at 09:33 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    02-01-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    26

    Re: Find count of filled cells and empty cells in a column

    Just for fun:

    Please Login or Register  to view this content.
    (Turn on Text Wrapping for that cell)
    Don't forget to mark as solved and add reputation

+ 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. [SOLVED] Find the number of non-empty cells in a column
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-22-2015, 08:09 AM
  2. Count filled and empty cells from the first filled cell in a row
    By mdaoust in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-01-2014, 01:23 PM
  3. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  4. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  5. Get non-empty cells count and index for some column in 3 worksheets?
    By nickxtsui in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2013, 08:57 PM
  6. Replies: 4
    Last Post: 12-04-2012, 02:24 AM
  7. count filled and empty rows till the last filled row
    By Dalal in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-29-2011, 04:32 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