A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Worksheet with most rows



 
 
Thread Tools Display Modes
  #1  
Old March 21st, 2009, 05:48 PM posted to microsoft.public.excel.worksheet.functions
Jack Deuce
external usenet poster
 
Posts: 15
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  
Old March 21st, 2009, 06:04 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
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  
Old March 21st, 2009, 06:37 PM posted to microsoft.public.excel.worksheet.functions
Jack Deuce
external usenet poster
 
Posts: 15
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  
Old March 21st, 2009, 08:14 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
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"))




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.