+ Reply to Thread
Results 1 to 7 of 7

COUNTA Formula

  1. #1
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    COUNTA Formula

    Is there a way to "wildcard" the A2000 portion of the formula =COUNTA(A2:A2000) to allow capture of ever increasing column length A that has occupied cells? Thanks!

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: COUNTA Formula

    Try this:

    =COUNTA(A:A)

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTA Formula

    Hi,

    Define a dynamic range name, e.g. MyList as

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then your formula is

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: COUNTA Formula

    Thank you gentlemen for the responses. =COUNTA(A:A) is easier (I modified to =(COUNTA(A:A))-1 to exclude header row). But I also wanted to learn about OFFSET and went that path as well. Both do the job and now I know more about different ways to use Excel! Thanks again.

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: COUNTA Formula

    Glad we could help. Thanks for the rep! That was careless of me to forget about the header row.

    Just FYI, another way that you can do this would be by formatting your data as a table and referring to the entire table column like this: =COUNTA(Table1[Table Header Name])

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: COUNTA Formula

    Quote Originally Posted by fearonc View Post
    ....But I also wanted to learn about OFFSET and went that path as well. Both do the job and now I know more about different ways to use Excel! Thanks again.
    That's why we're here and we're glad to have helped.

  7. #7
    Forum Contributor
    Join Date
    05-13-2012
    Location
    Eagle River, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    145

    Re: COUNTA Formula

    The table format approach was slick too! Thanks!

+ 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] I need to have a variable for a tab name in a COUNTA formula
    By russkirk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2013, 09:39 PM
  2. [SOLVED] Using COUNTA and COUNTIFS in the same formula
    By dogguy09 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-14-2012, 02:52 PM
  3. COUNTA formula
    By plannerg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-10-2012, 07:06 PM
  4. Counta formula needed
    By Boharris in forum Excel General
    Replies: 7
    Last Post: 06-12-2009, 01:51 PM
  5. CountA Formula
    By MrPlastics in forum Excel General
    Replies: 1
    Last Post: 09-20-2007, 10:46 AM
  6. formula Counta
    By tangomj in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-07-2007, 05:45 PM
  7. Counta formula
    By lla in forum Excel General
    Replies: 1
    Last Post: 05-10-2006, 07:30 PM
  8. COUNTA for a cell with a formula
    By Steve Jackson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2006, 03:15 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