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.

sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harry Seymour - 12 Jun 2007 16:13 GMT
How can I sum values in my third column by specifying conditions in my first
two?

e.g. Column A has values "Jon", "Max", "Mary", "Tom"
Column B has values "A" and "B".
Column C has values for each.

I need to sum C values where column A shows "Jon" and column B shows "B".
I've tried =sumif(AND(A1:A10, "Jon"),(B1:B10, "B"), C1:C10) with no luck.
the usual sumif should have the format =sumif(range to be assessed,
Criteria, range to be summed)
PCLIVE - 12 Jun 2007 16:22 GMT
Try this:

=SUMPRODUCT(--(A$1:A$10="Jon"),--(B$1:B$10="B"),C$1:C$10)

HTH,
Paul

> How can I sum values in my third column by specifying conditions in my
> first
[quoted text clipped - 8 lines]
> the usual sumif should have the format =sumif(range to be assessed,
> Criteria, range to be summed)
Peo Sjoblom - 12 Jun 2007 16:24 GMT
=SUMPRODUCT(--(A1:A10="Jon"),--(B1:B10="B"),C1:C10)

Signature

Regards,

Peo Sjoblom

> How can I sum values in my third column by specifying conditions in my
> first
[quoted text clipped - 8 lines]
> the usual sumif should have the format =sumif(range to be assessed,
> Criteria, range to be summed)
Bob Phillips - 12 Jun 2007 16:25 GMT
=SUMPRODUCT(--(A1:A10="Jon"),--(B1:B10=B"),C1:C10

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> How can I sum values in my third column by specifying conditions in my
> first
[quoted text clipped - 8 lines]
> the usual sumif should have the format =sumif(range to be assessed,
> Criteria, range to be summed)
Harry Seymour - 12 Jun 2007 16:33 GMT
very useful!
what is the -- function for??

> =SUMPRODUCT(--(A1:A10="Jon"),--(B1:B10=B"),C1:C10
>
[quoted text clipped - 10 lines]
> > the usual sumif should have the format =sumif(range to be assessed,
> > Criteria, range to be summed)
Bob Phillips - 12 Jun 2007 16:50 GMT
See  http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> very useful!
> what is the -- function for??
[quoted text clipped - 15 lines]
>> > the usual sumif should have the format =sumif(range to be assessed,
>> > Criteria, range to be summed)
Bob Phillips - 12 Jun 2007 16:51 GMT
I hope that you noticed I missed a trailing bracket

=SUMPRODUCT(--(A1:A10="Jon"),--(B1:B10=B"),C1:C10)
Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> very useful!
> what is the -- function for??
[quoted text clipped - 15 lines]
>> > the usual sumif should have the format =sumif(range to be assessed,
>> > Criteria, range to be summed)
PCLIVE - 12 Jun 2007 16:55 GMT
I saw that, but Excel would have corrected it.

>I hope that you noticed I missed a trailing bracket
>
[quoted text clipped - 18 lines]
>>> > the usual sumif should have the format =sumif(range to be assessed,
>>> > Criteria, range to be summed)
Harry Seymour - 12 Jun 2007 17:14 GMT
got it!
this is a really good function, and thanks for pointing me towards that
information website, can see it coming in handy.

I thought my excel skills were fairly good, but this is described as a basic
function!

Thanks all
Harry

> I saw that, but Excel would have corrected it.
>
[quoted text clipped - 20 lines]
> >>> > the usual sumif should have the format =sumif(range to be assessed,
> >>> > Criteria, range to be summed)
Bob Phillips - 12 Jun 2007 22:47 GMT
It is basic in its basic form, but what you see there is stretching it well
beyond the basic in many instances,

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> got it!
> this is a really good function, and thanks for pointing me towards that
[quoted text clipped - 33 lines]
>> >>> > the usual sumif should have the format =sumif(range to be assessed,
>> >>> > Criteria, range to be summed)
 
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.