+ Reply to Thread
Results 1 to 15 of 15

Counting populated rows

Hybrid View

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

    Re: Counting populated rows

    something like
    =IF(A2="","",11-COUNTA($A$1:A2)) filled down maybe
    or just i one cell put =MIN(MAX(0,10-COUNTA(A2:A5000)),10) which will count down to 0
    Last edited by martindwilson; 11-13-2013 at 06:57 PM.
    "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

  2. #2
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Counting populated rows

    Result.xlsx
    Quote Originally Posted by martindwilson View Post
    something like
    =IF(A2="","",11-COUNTA($A$1:A2)) filled down maybe
    or just i one cell put =MIN(MAX(0,10-COUNTA(A2:A5000)),10) which will count down to 0
    Thanks for your response Martin

    I've tried the filled down method, which works one the first run. Or rather, it works when directly entering data into the cell, but I'm actually using a data validation list to change the cell value. I presume this has something to do with a NULL value.

    That's when the formula starts to behave oddly. i.e it counts down all cells, rather than just those with values.

    I've created this in a worksheet. please see attached.Attachment 277669


    Cheers

+ 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. Excel 2007 : Counting if a certain cell is populated
    By Nick Elsden in forum Excel General
    Replies: 4
    Last Post: 11-04-2010, 10:36 AM
  2. Counting number of populated cells in a specific column
    By SHS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2009, 02:37 PM
  3. sum Total of columns of populated rows only
    By PvanS in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2009, 12:07 PM
  4. [SOLVED] how to count populated rows?
    By Ryan Cain in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-12-2005, 12:05 AM
  5. Copy columns to last populated rows
    By GEB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-17-2005, 02:05 PM

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