Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MaggieMagill
 
Posts: n/a
Default COUNTIF across sheets

I'm trying to create a formula that will count the values that are more
than 0 in a range across multiple worksheets.

COUNTIF('1:17'!D3:D9,"0") is what the "wizard" comes up with I use it but
it errs. After discovering that COUNTIF is an invalid formula function for
a 3-D reference, I'm stumped.

I would COUNTIF on each sheet and then just SUM on the master overview
sheet (named RESULTS) but I have 36 individual ranges on each sheet to
apply it to.

COUNT, of course, adds any cell with O and I need to have the 0's within
each sheet.

Is there any other way to easily accomplish this?
  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT(COUNTIF(INDIRECT(ROW(INDIRECT("1:17")) &"!D3:D9"),"0"))

Hope this helps!

In article <xrh1f.938$L24.192@lakeread01,
MaggieMagill wrote:

I'm trying to create a formula that will count the values that are more
than 0 in a range across multiple worksheets.

COUNTIF('1:17'!D3:D9,"0") is what the "wizard" comes up with I use it but
it errs. After discovering that COUNTIF is an invalid formula function for
a 3-D reference, I'm stumped.

I would COUNTIF on each sheet and then just SUM on the master overview
sheet (named RESULTS) but I have 36 individual ranges on each sheet to
apply it to.

COUNT, of course, adds any cell with O and I need to have the 0's within
each sheet.

Is there any other way to easily accomplish this?

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
COUNTIF across all sheets of a workbook Steve Excel Worksheet Functions 6 June 1st 05 04:44 AM
COUNTIF across all sheets of a workbook Steve Excel Worksheet Functions 0 May 31st 05 11:56 PM
calculating excel spreadsheet files for pensions and life insurance (including age calculation sheets) RICHARD Excel Worksheet Functions 1 March 15th 05 05:49 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
CountIF across multiple sheets in a workbook Al Excel Worksheet Functions 1 October 29th 04 01:15 PM


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