sumif formula

  • Thread starter Thread starter jenw
  • Start date Start date
J

jenw

At the moment I am trying to work a sumif formula

The problem I am encountering is once I have set the range and criteri
it won't pick up the sum range as the range I am specifying is fo
example J15:CB45 - it will pick up J15:CB15 but I need it to pick u
the whole range - do you know of anyway I can resolve this.

My formula is =sumif($J$3:$CB$3,E$3,($J15:$CB45)) but it doesn't see
to work this one does though =sumif($J$3:$CB$3,E$3,($J15:$CB15)) bu
that doesn't help me!

I have put a print screen of the spreadsheet I am trying to work on.

Thanks

Jenni
 
=SUMPRODUCT(($J$3:$CB$3=E$3)*($J15:$CB45))

$J15:$CB15 is the only part of $J15:$CB45 that corresponds to your match
randge of $J$3:$CB$3, so that is all that SUMIF considers. To logically
expand the match range, you need an array formula, which SUMIF will not
handle.

Jerry
 
I have tried the following and it seems to work ok - I am using Excel XP

=SUMIF(A5:CB45,A2,A5:CB45)
 

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