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

Tip: Looking for answers? Try searching our database.

HELP: Condition Summing Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cirene - 06 Dec 2007 22:54 GMT
I have 3 columns in a spreadsheet
- Language (column A)
- Color (column B)
- Qty (column C)

I want one number which represents the SUM of all Qty, WHERE Language=E AND
Color=Red.  How can I do that?  I'm using the latest version of Excel.

Example:
*E     Red     3
E     Yel     4
S     Red     4
K     Red     5
*E     Red     2

The SUM would be 5 (adding the rows with asterick)

Thanks!
T. Valko - 06 Dec 2007 23:04 GMT
One way:

=SUMPRODUCT(--(A1:A5="E"),--(B1:B5="Red"),C1:C5)

Better to use cells to hold the criteria:

E1 = E
F1 = Red

=SUMPRODUCT(--(A1:A5=E1),--(B1:B5=F1),C1:C5)

Signature

Biff
Microsoft Excel MVP

>I have 3 columns in a spreadsheet
> - Language (column A)
[quoted text clipped - 14 lines]
>
> Thanks!

Rate this thread:






 
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.