+ Reply to Thread
Results 1 to 8 of 8

Counting the number of the remaining cells (yet to be filled in) of a column

  1. #1
    Registered User
    Join Date
    02-02-2006
    Location
    Sydney . Australia
    MS-Off Ver
    2007 and 2013
    Posts
    98

    Counting the number of the remaining cells (yet to be filled in) of a column

    A column (A1:A60) is being progressively filled in with numbers, and occasionally some blank cells are between. I need a formula to work out the number of the remaining cells (that are yet to be filled in) from the last entry till the last cell (A60) of the column.
    Any help will be much appreciated
    Last edited by Michael6; 08-15-2009 at 09:34 AM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    Hi,

    You can use a COUNTIF

    =COUNTIF(A1:A60,"")
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    02-02-2006
    Location
    Sydney . Australia
    MS-Off Ver
    2007 and 2013
    Posts
    98

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    Thank you Oldchippy. But what is needed is a formula to count the number of the remaining cells [yet to be filled out] from the last entry made till the last cell (A60) of the column.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    try =60-MATCH(9.999999999E+307,A1:A60,1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    Hmmm. . . any reason COUNTBLANK won't work? (as long they're just data entry cells and not formula cells)

    =COUNTBLANK(A1:A60)

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    yep coz it will count blanks between numbers not just the last lot!

  7. #7
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Counting the number of the remaining cells (yet to be filled in) of a column

    yep coz it will count blanks between numbers not just the last lot!
    Oops! Over-looked that bit to count from last entry to end of range.

  8. #8
    Registered User
    Join Date
    02-02-2006
    Location
    Sydney . Australia
    MS-Off Ver
    2007 and 2013
    Posts
    98

    Smile Re: Counting the number of the remaining cells (yet to be filled in) of a column

    Martindwilson, Thank you very much. You gave me the right solution.
    The problem is now solved,And I appreciate your help.
    And I would like to to thank Palmetto for attempting to help. He too agrees that the formula you suggested is the right one.

+ 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