Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 152
Default Sumif multiple criteria?

ok, I am using sumif to add columns with particular names next to them, but I
am selecting the names from a dropdown list

A1 B1 C1 D1 E1 F1
amount Name Reason (selectN) (selectR) £
£24 smith 56 X X =?


So I'm using Sumif to total all of "smiths" Sales in one cell, but I want to
Add all of his sales for one reason code
is there a way to use sumif with more than one criterion?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Sumif multiple criteria?

No, but you can use SUMPRODUCT

=SUMPRODUCT(--(B2:B200="smith"),--(C2:C200=56),A2:A200)

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob

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

"Alan" wrote in message
...
ok, I am using sumif to add columns with particular names next to them,
but I
am selecting the names from a dropdown list

A1 B1 C1 D1 E1 F1
amount Name Reason (selectN) (selectR) £
£24 smith 56 X X =?


So I'm using Sumif to total all of "smiths" Sales in one cell, but I want
to
Add all of his sales for one reason code
is there a way to use sumif with more than one criterion?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 152
Default Sumif multiple criteria?

so, will that only add up totals in column A if a) the name is "smith", and
b) the reason code is "56"?
--
[RLK] Rollin' Like Kingz


"Bob Phillips" wrote:

No, but you can use SUMPRODUCT

=SUMPRODUCT(--(B2:B200="smith"),--(C2:C200=56),A2:A200)

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob

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

"Alan" wrote in message
...
ok, I am using sumif to add columns with particular names next to them,
but I
am selecting the names from a dropdown list

A1 B1 C1 D1 E1 F1
amount Name Reason (selectN) (selectR) £
£24 smith 56 X X =?


So I'm using Sumif to total all of "smiths" Sales in one cell, but I want
to
Add all of his sales for one reason code
is there a way to use sumif with more than one criterion?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Sumif multiple criteria?

Yes. Try it and see.

--
HTH

Bob

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

"Alan" wrote in message
...
so, will that only add up totals in column A if a) the name is "smith",
and
b) the reason code is "56"?
--
[RLK] Rollin' Like Kingz


"Bob Phillips" wrote:

No, but you can use SUMPRODUCT

=SUMPRODUCT(--(B2:B200="smith"),--(C2:C200=56),A2:A200)

Note that SUMPRODUCT doesn't work with complete columns, you have to
specify
a range.

--
HTH

Bob

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

"Alan" wrote in message
...
ok, I am using sumif to add columns with particular names next to them,
but I
am selecting the names from a dropdown list

A1 B1 C1 D1 E1
F1
amount Name Reason (selectN) (selectR) £
£24 smith 56 X X =?

So I'm using Sumif to total all of "smiths" Sales in one cell, but I
want
to
Add all of his sales for one reason code
is there a way to use sumif with more than one criterion?






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
SUMIF, multiple criteria Jo-Anne Excel Worksheet Functions 5 December 19th 07 08:18 PM
SUMIF multiple criteria Sarah (OGI) Excel Worksheet Functions 5 September 26th 07 02:54 PM
sumif multiple criteria Chris Cowles Excel Worksheet Functions 9 May 26th 07 11:06 PM
SUMIF with multiple criteria macquarl Excel Discussion (Misc queries) 4 January 5th 06 02:18 AM
SUMIF With Multiple Criteria Mike Excel Worksheet Functions 1 November 2nd 05 11:08 PM


All times are GMT +1. The time now is 09:08 PM.

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"