Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default CountIf should work across sheets

The formula =COUNT(Sheet2:Sheet6!A1) works fine,
as does the formula =COUNTIF(A1:A6,"<4")

but the formula =COUNTIF(Sheet2:Sheet6!A1,"<4") does not. If there anyway
of counting across sheets only when a particular condition applys?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 380
Default CountIf should work across sheets

=SUMPRODUCT(COUNTIF(INDIRECT("'Sheet"&{1,2,3,4,5,6 }&"'!A1"),"<4"))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"
om wrote in message
...
The formula =COUNT(Sheet2:Sheet6!A1) works fine,
as does the formula =COUNTIF(A1:A6,"<4")

but the formula =COUNTIF(Sheet2:Sheet6!A1,"<4") does not. If there anyway
of counting across sheets only when a particular condition applys?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...id=2cb14e2c-b5
67-4936-ad4e-178a2a427211&dg=microsoft.public.excel.worksheet.f unctions


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default CountIf should work across sheets

excuse me Bob....Mr thinker thats a good one...but please dont delete any
sheet in that range or even rename the sheet...good luck...more power Bob n
Thinker

"Bob Phillips" wrote:

=SUMPRODUCT(COUNTIF(INDIRECT("'Sheet"&{1,2,3,4,5,6 }&"'!A1"),"<4"))

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"
om wrote in message
...
The formula =COUNT(Sheet2:Sheet6!A1) works fine,
as does the formula =COUNTIF(A1:A6,"<4")

but the formula =COUNTIF(Sheet2:Sheet6!A1,"<4") does not. If there anyway
of counting across sheets only when a particular condition applys?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...id=2cb14e2c-b5
67-4936-ad4e-178a2a427211&dg=microsoft.public.excel.worksheet.f unctions



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
How to Switch between different work sheets Randomly Thejesh.Giri Excel Discussion (Misc queries) 2 September 25th 06 09:12 PM
Please help!! Countif formula doesnn't work with text format shirley_kee Excel Discussion (Misc queries) 5 July 28th 06 06:46 PM
validate work sheets yalanola Excel Worksheet Functions 0 July 26th 06 12:34 AM
deleted work sheets - Excel Beth Excel Worksheet Functions 1 April 25th 06 10:06 PM
church expenses, income work sheets First Baptist Church Excel Discussion (Misc queries) 1 July 19th 05 05:43 PM


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