Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

CountIf should work across sheets

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
the_thinker97@hotmail.com - 21 Oct 2006 19:02 GMT
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?
Bob Phillips - 21 Oct 2006 20:25 GMT
=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)

> The formula =COUNT(Sheet2:Sheet6!A1) works fine,
> as does the formula =COUNTIF(A1:A6,"<4")
[quoted text clipped - 8 lines]
> 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/community/en-us/default.mspx?mid=2cb14e2c-b5
67-4936-ad4e-178a2a427211&dg=microsoft.public.excel.worksheet.functions
romelsb - 21 Oct 2006 23:39 GMT
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

> =SUMPRODUCT(COUNTIF(INDIRECT("'Sheet"&{1,2,3,4,5,6}&"'!A1"),"<4"))
>
[quoted text clipped - 22 lines]
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=2cb14e2c-b5
> 67-4936-ad4e-178a2a427211&dg=microsoft.public.excel.worksheet.functions
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.