Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default Countif over several worksheets

I'd like to have a countif equation over the range Sheet1:AA2, Sheet2:AA2,
Sheet3:AA2 and I want it count anything that is not equal to 2. How would I
write this.

Thanks,
Barb Reinhardt

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Countif over several worksheets

COUNTIF() does not work over dis-joint ranges.

Try:

=(Sheet2!AA2<2)+(Sheet3!AA2<2)+(Sheet1!AA2<2)
--
Gary's Student


"Barb Reinhardt" wrote:

I'd like to have a countif equation over the range Sheet1:AA2, Sheet2:AA2,
Sheet3:AA2 and I want it count anything that is not equal to 2. How would I
write this.

Thanks,
Barb Reinhardt

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Countif over several worksheets

=SUMPRODUCT(COUNTIF(INDIRECT("Sheet"&{1,2,3}&"!AA2 "),"<2"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Barb Reinhardt" wrote in message
...
I'd like to have a countif equation over the range Sheet1:AA2,

Sheet2:AA2,
Sheet3:AA2 and I want it count anything that is not equal to 2. How

would I
write this.

Thanks,
Barb Reinhardt



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 function in multiple worksheets ferde New Users to Excel 3 February 23rd 06 09:19 PM
Help with countif on multiple worksheets jeremed Excel Worksheet Functions 2 July 8th 05 12:59 AM
countif across worksheets MCK Excel Worksheet Functions 7 July 5th 05 05:15 PM
Countif multiple worksheets Natalie Excel Worksheet Functions 4 March 8th 05 12:35 PM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


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