sumif problem

R

Rick

I am trying to add up multiple columns but from what I have read so far Sumif
won't do it.

=SUMIF($IE$3:$IE$62,B6,$IN$3:$IV$62) only returns the first value in column
IN.

How do I ADD all columns from IN to IV.

Thanks in advance
 
T

Tyro

That is because SUMIF makes the sum range agree in shape with the range that
you're comparing B6 to - $IE$3:$IE$62 - 1 column, so it sums only the first
column of your sum range. Use SUMPRODUCT instead:

=SUMPRODUCT((B6=$IE$3:$IE$62)*($IN$3:$IV$62))

Tyro
 
T

T. Valko

Try this:

Assuming the range IN3:IV62 contains only numeric values.

=SUMPRODUCT((IE3:IE62=B6)*IN3:IV62)
 

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


Top