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 / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Countif + External Reference = #Value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hall.jeff@gmail.com - 28 Nov 2007 16:14 GMT
It appears that the countif function (along with sumif and others i'm
betting) do not function properly with external links. The only
workaround I've been able to find is to write a macro to open the
various externally referenced sheets and then close them. Is there a
better way for this?
Peo Sjoblom - 28 Nov 2007 16:28 GMT
If you mean external linked workbooks that are closed then COUNTIF won't
work but you can use SUMPRODUCT instead of both COUNTIF/SUMIF

=COUNTIF(A1:A10,">0")

=SUMPRODUCT(--(A1:A10>0))

will return the same result

=SUMIF(A1:A10,">0",B1:B10)

=SUMPRODUCT(--(A1:A10>0),B1:B10)

will return the same result

Signature

Regards,

Peo Sjoblom

> It appears that the countif function (along with sumif and others i'm
> betting) do not function properly with external links. The only
> workaround I've been able to find is to write a macro to open the
> various externally referenced sheets and then close them. Is there a
> better way for this?
hall.jeff@gmail.com - 28 Nov 2007 16:55 GMT
Thanks... That worked... What a wonderfully undocumented feature
 
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.