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.

How do I add cell values using conditional criteria?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ansoriano1 - 20 Oct 2006 01:05 GMT
Here's my sheet

Company|Zone | Units
________________
    A       |   1    |   3
    B       |   2    |   4
    A       |   3    |   2
    A       |   1    |   7

What I want to do is get the average number of units from Company A in Zone 1.

Can somebody help me?
Bob Phillips - 20 Oct 2006 01:21 GMT
=SUMPRODUCT(--(A2:A20="A"),--(B2:B20=1),C2:C20)

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Here's my sheet
>
[quoted text clipped - 8 lines]
>
> Can somebody help me?
Teethless mama - 20 Oct 2006 03:48 GMT
=AVERAGE(IF((A1:A100="A")*(B1:B100=1),C1:C100))

ctrl>shift>enter  (not just enter)

> Here's my sheet
>
[quoted text clipped - 8 lines]
>
> Can somebody help me?
 
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.