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

Tip: Looking for answers? Try searching our database.

COUNT IF (AND / OR) SUM IF PROBLEM

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anthony Mann - 17 Apr 2007 19:46 GMT
I have been trying to use COUNT IF and SUM IF functions in a worksheet, and I
have been receiving the #VALUE! error.

For Example:
I am trying to have it add up the number of personnel with "ARCOM" and  "1",
just adding the number of personnel with ARCOMs to gather a total.  The same
thing with other types of awards - # of personnel with other type of awards.  
Just adding ARCOM and "1" (in a separate column" should work.

The formula(s) that I am using are:
=COUNT(IF((E7:E350="ARCOM)+(T7:T350="1")1,0))
and
=SUM(IF((E7:E350="ARCOM)+(T7:T350="1")1,0))

The COUNT IF formula worked ONCE, and then I started getting the #VALUE!
error, with no resolution in sight.

This formula is on a very high priority document for us, so if you know the
answer, please post it here, or email it to me at anthony.mann@us.army.mil

Thanks!!
Barb Reinhardt - 17 Apr 2007 19:58 GMT
Try this:  

=SUMPRODUCT(--(E7:E350="ARCOM"),--(T7:T350=1)))

> I have been trying to use COUNT IF and SUM IF functions in a worksheet, and I
> have been receiving the #VALUE! error.
[quoted text clipped - 17 lines]
>
> Thanks!!
Ron Coderre - 17 Apr 2007 20:10 GMT
Try this:

=SUMPRODUCT((E7:E350="ARCOM")*(--T7:T350=1))

That formula works whether the Col_T values are text or numeric.

Does that help?
***********
Regards,
Ron

XL2002, WinXP

> I have been trying to use COUNT IF and SUM IF functions in a worksheet, and I
> have been receiving the #VALUE! error.
[quoted text clipped - 17 lines]
>
> Thanks!!
 
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



©2009 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.