AND conditions before summing up

G

Ginger

Hi,

Let say my data are as follows:-
A B C D
100 6 T 10'
200 7 E 15
300 6 D 10
400 5 F 20
500 6 T 11'

Question:-
I will sum up the numbers from Col D if the number in Col
B is "6" AND the text in Col C is "T". How do I come up
with this formula? Does sumif works here? If yes, how?
In this case, my answer should be 10 + 11 = 21.

Hope somebody can help me out here.

Thanks.
 
P

Paul

Ginger said:
Hi,

Let say my data are as follows:-
A B C D
100 6 T 10'
200 7 E 15
300 6 D 10
400 5 F 20
500 6 T 11'

Question:-
I will sum up the numbers from Col D if the number in Col
B is "6" AND the text in Col C is "T". How do I come up
with this formula? Does sumif works here? If yes, how?
In this case, my answer should be 10 + 11 = 21.

Hope somebody can help me out here.

Thanks.

SUMIF can only manage one condition. For more you need SUMPRODUCT.
=SUMPRODUCT((B1:B5=6)*(C1:C5="T"),D1:D5)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Numbers from first column 5
match 3
Excel Complex Summing 3
Rank and return Names 5
Sum 7
combining several lists into one? 1
Vlookup Based on Multiple Conditions 4
Ranking 10

Top