which function will do this?

  • Thread starter Thread starter fikko
  • Start date Start date
F

fikko

Is there a function which provides the sum of the values in column B that
correspond to a specified value in column A.
eg

A B
1 2
1 3
2 0
3 0
4 5
4 5
4 5

1 would return 5, 2 and 3 would return 0 and 4 would return 15

ta
 
Is there a function which provides the sum of the values in column B that
correspond to a specified value in column A.
eg

A B
1 2
1 3
2 0
3 0
4 5
4 5
4 5

1 would return 5, 2 and 3 would return 0 and 4 would return 15

ta


SUMIF
--ron
 
=SUMPRODUCT(--(A1:A7=4),--(B1:B7))
for items in column A with a 4
 

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

Back
Top