Counting across worksheets

P

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)?
 
P

Paul Sheppard

Pelham said:
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 yo
will need to change the range A:A to be a column where there is data i
your worksheets, you will also need to extend the formula for all you
worksheets

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

Hope this helps

Pau
 
P

Pelham

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top