Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Number of Lines in a Worksheet Function?

I have an Excel file with four worksheets. In each worksheet is a
list of computer names which can total 1,000 per worksheet. I want
to create a new worksheet that lists just four numbers: the total
number of computers/lines in each worksheet. Is that something I can
do with a function?

I'm hoping that as each worksheet gets updated, the "report" worksheet
will automatically update its numbers with the new totals in the other
four worksheets.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Number of Lines in a Worksheet Function?

Use the CountA function

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

This will return the count of cells with non-null values
in column a of sheet 1, sheet 2, etc. If you add or
delete a value, this formula will automatically reflect
the new count. Of course you will have to pick a column
which always has a value for each machine in your list.

-----Original Message-----
I have an Excel file with four worksheets. In each

worksheet is a
list of computer names which can total 1,000 per

worksheet. I want
to create a new worksheet that lists just four numbers:

the total
number of computers/lines in each worksheet. Is that

something I can
do with a function?

I'm hoping that as each worksheet gets updated,

the "report" worksheet
will automatically update its numbers with the new

totals in the other
four worksheets.
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Number of Lines in a Worksheet Function?

That was it! Thanks!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Extending the number of lines in a worksheet Deborah Excel Discussion (Misc queries) 2 January 20th 07 03:10 AM
Extending the number of lines in a worksheet John Bundy Excel Discussion (Misc queries) 0 January 19th 07 08:15 PM
Extending the number of lines in a worksheet Mike Excel Discussion (Misc queries) 0 January 19th 07 08:14 PM
Worksheet function to refer to columns by number mcambrose Excel Discussion (Misc queries) 1 October 13th 06 05:28 PM
Does the Wrap function in excel allow a maximum number of lines? Redskins Fan Excel Discussion (Misc queries) 3 January 24th 06 06:11 PM


All times are GMT +1. The time now is 08:34 AM.

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

About Us

"It's about Microsoft Excel"