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 / June 2007

Tip: Looking for answers? Try searching our database.

zero value from using 3D formula, value is missing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chedd - 18 Jun 2007 15:48 GMT
Hi

I am using a 3D formula =SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun 07"}
&"'!F27:F48"),({"<18","<=20"})*{-1,1})) to count ages between certain age
groups, but keep getting a 0value to where there are 8 references between the
ages of 18-20.
bj - 18 Jun 2007 16:29 GMT
the *{-1,1} appears to be in the countif function
I think you want
=SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun 07"}
&"'!F27:F48"),"<=20"})-SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun 07"}
&"'!F27:F48"),"<18")
entered as array control-shift-enter

> Hi
>
> I am using a 3D formula =SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun 07"}
> &"'!F27:F48"),({"<18","<=20"})*{-1,1})) to count ages between certain age
> groups, but keep getting a 0value to where there are 8 references between the
> ages of 18-20.
Peo Sjoblom - 18 Jun 2007 16:42 GMT
Try

=SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun
07"}&"'!F27:F48"),">=18"))-SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun
07"}&"'!F27:F48"),">20"))

Signature

Regards,

Peo Sjoblom

> Hi
>
[quoted text clipped - 4 lines]
> the
> ages of 18-20.
Lori - 18 Jun 2007 17:20 GMT
=SUM(COUNTIF(INDIRECT("'"&{"Apr 07","May 07","Jun 07"}&"'!F27:F48"),
{"<18";"<=20"})*{-1;1})

> Hi
>
[quoted text clipped - 5 lines]
> --
> Message posted viahttp://www.officekb.com
Lori - 18 Jun 2007 17:39 GMT
Or maybe...

=INDEX(FREQUENCY('Apr 07:Jun 07'!F27:F48,{17,20}),2)

> Hi
>
[quoted text clipped - 5 lines]
> --
> Message posted viahttp://www.officekb.com
 
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.