Thread: sum by criteria
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
chrisnsmith chrisnsmith is offline
external usenet poster
 
Posts: 96
Default sum by criteria

In the following example I need to sum column D for criteria in column B, and
sum column E for criteria in column B.

A B C D
E
ACCT COMM STRIKE LONG SHORT
1 cf wz 2
2 df wz 2
3 ef wc
2
4 fk wh 4
5 ro wc 5
6 gl wc
3
7 lu wh 4
8 qw wh
3
9 gd wz
5
10 we wc 7

Example: For wc in column B and a number in column D, I need to sum for wc.
For wc in column B and a number in column E, I need to sum
for wc.
And so on and so on, for matching criteria in column B.