Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A"

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)
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in message
...
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)






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

--
HTH

Bob

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

"Harry Seymour" wrote in message
...
very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in
message
...
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)






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

I hope that you noticed I missed a trailing bracket

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

Bob

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

"Harry Seymour" wrote in message
...
very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in
message
...
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)






  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

I saw that, but Excel would have corrected it.


"Bob Phillips" wrote in message
...
I hope that you noticed I missed a trailing bracket

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

Bob

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

"Harry Seymour" wrote in message
...
very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in
message
...
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)







  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

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

"PCLIVE" wrote:

I saw that, but Excel would have corrected it.


"Bob Phillips" wrote in message
...
I hope that you noticed I missed a trailing bracket

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

Bob

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

"Harry Seymour" wrote in message
...
very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in
message
...
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)








  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,

It is basic in its basic form, but what you see there is stretching it well
beyond the basic in many instances,

--
HTH

Bob

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

"Harry Seymour" wrote in message
...
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

"PCLIVE" wrote:

I saw that, but Excel would have corrected it.


"Bob Phillips" wrote in message
...
I hope that you noticed I missed a trailing bracket

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

Bob

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

"Harry Seymour" wrote in
message
...
very useful!
what is the -- function for??

"Bob Phillips" wrote:

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

--
HTH

Bob

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

"Harry Seymour" <Harry wrote in
message
...
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)










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
sumif/if with conditions "HELP" BSantos Excel Worksheet Functions 2 February 24th 06 09:41 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 11:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"