LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I count items in another workbook?

=COUNTA([book2.xls]Sheet1!$A$1:$A$2)
or
=COUNTA([book2.xls]Sheet1!A1:A2)

I'd let excel do the work.

Open the other workbook.
Then in the cell that's going to contain the formula, type:
=counta(
And then go to the "sending" sheet and select the range.

Excel will use absolute references ($A$1 instead of A1), but you can use F4 to
cycle through the reference styles.


Alan wrote:

It's referencing another workbook that's confusing me. When counting items
in another worksheet I'm using COUNTA(worksheet!a1:a2) and I get a valid
number. However, when counting items in another workbook I'm using
COUNTA(workbook:worksheet!a1:a2) and my response is "1". The count should be
over 100. What am I doing wrong?

Thanks.


--

Dave Peterson
 
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
Count items in range Steven Excel Worksheet Functions 16 July 23rd 08 02:57 PM
Count items by day Amber Excel Worksheet Functions 5 October 23rd 07 04:40 PM
SUMPRODUCT to count items with duplicates where another column contains two defined items PCLIVE Excel Worksheet Functions 4 September 8th 07 10:33 AM
Count Numbered Items JB Excel Discussion (Misc queries) 3 January 13th 07 02:39 PM
How to count how many different items in one colum? Letizia Excel Worksheet Functions 1 April 7th 05 04:24 PM


All times are GMT +1. The time now is 10:42 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"