Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Counting rows from columns on multiple worksheets?

I am looking for a formula to count instances, from multiple sheets, where
criteria in one column and another column occur. For example I have 4
worksheets and I amd looking for all instances where column A in all books
=Suzie Smith AND where column C in all books = Tuesday. Any ideas?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Counting rows from columns on multiple worksheets?

try
=sumproduct(--('all books'!A1:A1000="Suzie Smith"),--(C1:C1000="Tuesday"))
the --( changes the logical true false to a numeric 1,0.

you cannot use (before 2007) the shorthand for the full column
A:A is a non-no.

"The BriGuy" wrote:

I am looking for a formula to count instances, from multiple sheets, where
criteria in one column and another column occur. For example I have 4
worksheets and I amd looking for all instances where column A in all books
=Suzie Smith AND where column C in all books = Tuesday. Any ideas?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting rows from columns on multiple worksheets?

Assume you have 3 identically structured source sheets named as simply: x, y, z

In your summary sheet,
List the 3 sheetnames in A3 down, ie: x, y, z
Input the dual criteria in B1:B2, ie: Suzie Smith, Tuesday
Then place in B3:
=SUMPRODUCT((INDIRECT("'"&$A3&"'!A2:A100")=B$1)*(( INDIRECT("'"&$A3&"'!C2:C100")=B$2)))
Copy B3 down to return the counts from each sheet.
Then you could just total up the counts in say, B6: =SUM(B3:B5)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"The BriGuy" wrote:
I am looking for a formula to count instances, from multiple sheets, where
criteria in one column and another column occur. For example I have 4
worksheets and I amd looking for all instances where column A in all books
=Suzie Smith AND where column C in all books = Tuesday. Any ideas?

Thanks

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
Autofill counting up Columns and Rows! fantomet Excel Worksheet Functions 5 December 14th 06 12:57 PM
Counting rows based on multiple columns Doyle Excel Worksheet Functions 1 September 29th 06 07:06 PM
counting rows across multiple worksheets Aleks Excel Discussion (Misc queries) 1 October 29th 05 02:56 AM
Counting rows of blanks across certain columns crossingboston New Users to Excel 1 May 26th 05 05:20 PM
Counting rows with 3 columns Tuc Excel Worksheet Functions 4 April 26th 05 06:46 PM


All times are GMT +1. The time now is 06:18 PM.

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"