Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SUMIF WITH MULTIPLE CRITERIA?

Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case to
return 20
also maybe other columns with additional criteria...can it be extended?

thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMIF WITH MULTIPLE CRITERIA?

=SUMPRODUCT(--(A2:A20="USD"),--(B2:B200="LONG),C2:C200)

--
HTH

Bob

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

"kahuna" wrote in message
...
Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case to
return 20
also maybe other columns with additional criteria...can it be extended?

thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default SUMIF WITH MULTIPLE CRITERIA?

that A2:A20 should be A2:A200
(but you knew that!)

"Bob Phillips" wrote in message
...
=SUMPRODUCT(--(A2:A20="USD"),--(B2:B200="LONG),C2:C200)

--
HTH

Bob

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

"kahuna" wrote in message
...
Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case to
return 20
also maybe other columns with additional criteria...can it be extended?

thanks!





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMIF WITH MULTIPLE CRITERIA?

But the OP might not :-)

--
HTH

Bob

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

"Bob Umlas" wrote in message
...
that A2:A20 should be A2:A200
(but you knew that!)

"Bob Phillips" wrote in message
...
=SUMPRODUCT(--(A2:A20="USD"),--(B2:B200="LONG),C2:C200)

--
HTH

Bob

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

"kahuna" wrote in message
...
Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case to
return 20
also maybe other columns with additional criteria...can it be extended?

thanks!







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default SUMIF WITH MULTIPLE CRITERIA?

fantastic thanks, i don`t suppose you could satisfy my curiosity and show how
its doing that? is the -- making the paramenters negative so when they
multiply you just get 1 to multiply the last column by? thanks again!

"Bob Phillips" wrote:

But the OP might not :-)

--
HTH

Bob

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

"Bob Umlas" wrote in message
...
that A2:A20 should be A2:A200
(but you knew that!)

"Bob Phillips" wrote in message
...
=SUMPRODUCT(--(A2:A20="USD"),--(B2:B200="LONG),C2:C200)

--
HTH

Bob

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

"kahuna" wrote in message
...
Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case to
return 20
also maybe other columns with additional criteria...can it be extended?

thanks!










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMIF WITH MULTIPLE CRITERIA?

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)

"kahuna" wrote in message
...
fantastic thanks, i don`t suppose you could satisfy my curiosity and show
how
its doing that? is the -- making the paramenters negative so when they
multiply you just get 1 to multiply the last column by? thanks again!

"Bob Phillips" wrote:

But the OP might not :-)

--
HTH

Bob

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

"Bob Umlas" wrote in message
...
that A2:A20 should be A2:A200
(but you knew that!)

"Bob Phillips" wrote in message
...
=SUMPRODUCT(--(A2:A20="USD"),--(B2:B200="LONG),C2:C200)

--
HTH

Bob

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

"kahuna" wrote in message
...
Hi there, need to sum up totals in a column, with 2 or more criteria:

eg:
A B C
USD LONG 10
EUR SHORT 10
USD LONG 10
USD SHORT

need to SUMIF if Column A is USD AND Column B is LONG..in this case
to
return 20
also maybe other columns with additional criteria...can it be
extended?

thanks!










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 Chris Cowles Excel Worksheet Functions 9 May 26th 07 11:06 PM
sumif using multiple criteria RMires Excel Discussion (Misc queries) 3 September 14th 06 03:14 PM
Sumif with multiple criteria jn77 Excel Worksheet Functions 5 July 19th 06 09:52 PM
SUMIF with multiple criteria penri0_0 Excel Discussion (Misc queries) 5 May 18th 06 04:55 PM
SUMIF With Multiple Criteria Mike Excel Worksheet Functions 1 November 2nd 05 11:08 PM


All times are GMT +1. The time now is 03:45 PM.

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

About Us

"It's about Microsoft Excel"