Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Worksheet with most rows

I have a workbook containing 100+ sheets. Is it possible to find
which sheet has the most rows? The data columns in these sheets
contain dates, coin grades and prices.

I have created an Sheet Index (using ASAP) and would like to add the
number of rows each sheet has to the appropriate cell in the Sheet
Index. Is this possible?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Worksheet with most rows

If each sheet is setup to where column A is the first column that contains
data and that column contains the most rows of data.

Assume you have your sheet names listed on a summary sheet in the range
A1:A100.

Try this in B1 and copy down as needed:

=COUNTA(INDIRECT("'"&A1&"'!A:A"))

--
Biff
Microsoft Excel MVP


"Jack Deuce" wrote in message
...
I have a workbook containing 100+ sheets. Is it possible to find
which sheet has the most rows? The data columns in these sheets
contain dates, coin grades and prices.

I have created an Sheet Index (using ASAP) and would like to add the
number of rows each sheet has to the appropriate cell in the Sheet
Index. Is this possible?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Worksheet with most rows

Thanks so much. Worked perfectly.

On Sat, 21 Mar 2009 14:04:33 -0400, "T. Valko"
wrote:

If each sheet is setup to where column A is the first column that contains
data and that column contains the most rows of data.

Assume you have your sheet names listed on a summary sheet in the range
A1:A100.

Try this in B1 and copy down as needed:

=COUNTA(INDIRECT("'"&A1&"'!A:A"))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Worksheet with most rows

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Jack Deuce" wrote in message
...
Thanks so much. Worked perfectly.

On Sat, 21 Mar 2009 14:04:33 -0400, "T. Valko"
wrote:

If each sheet is setup to where column A is the first column that contains
data and that column contains the most rows of data.

Assume you have your sheet names listed on a summary sheet in the range
A1:A100.

Try this in B1 and copy down as needed:

=COUNTA(INDIRECT("'"&A1&"'!A:A"))




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy rows from one worksheet automatically, ignore rows that are b Kris Excel Worksheet Functions 2 October 10th 08 09:28 PM
instering rows in one worksheet that reflect another worksheet Tsato Excel Worksheet Functions 1 August 19th 08 12:51 AM
insert rows in a worksheet that do not change adjoining rows craigandmel Excel Discussion (Misc queries) 2 April 29th 08 10:26 PM
How do I insert blank rows between rows in completed worksheet? bblue1978 Excel Discussion (Misc queries) 1 October 26th 06 07:02 PM
Why does rngDataSource.Rows.Count = 65536 when worksheet Rows=95? [email protected] Excel Discussion (Misc queries) 12 July 22nd 05 12:50 PM


All times are GMT +1. The time now is 05:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"