+ Reply to Thread
Results 1 to 3 of 3

Counting across worksheets

Hybrid View

  1. #1
    Pelham
    Guest

    Counting across worksheets

    How can I get a total number of records within 23 different worksheets
    without going through each worksheet adding up the number of rows
    (records)?


  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by Pelham
    How can I get a total number of records within 23 different worksheets
    without going through each worksheet adding up the number of rows
    (records)?

    Hi pelham

    Try this:

    Insert an new worksheet in any cell eenter the following formula >

    =COUNTA(Sheet1!A:A,Sheet2!A:A)

    You will need to change sheet1/sheet2 to match your sheet names and you will need to change the range A:A to be a column where there is data in your worksheets, you will also need to extend the formula for all your worksheets

    COUNTA counts all the rows that have an entry, so if there is a blank in the data it will not count it, if you want to count all the rows used irrespective of whether they contain data change COUNTA to COUNT

    Hope this helps

    Paul

  3. #3
    Pelham
    Guest

    Re: Counting across worksheets

    Thanks Paul!

    I have just seen that you can also use the =COUNTA function and
    highlight all the worksheets (using Shift) and then click on one of the
    column A's to identify the range.


+ 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