SUMIF not calculating

  • Thread starter Thread starter KENNY
  • Start date Start date
K

KENNY

I have the SUMIF formula below that works if I manually
enter in the underlying data I wish to sum. I have tried
to clean up the data with TRIM and Value. When I do a
simple sum on this cleaned data, it works. When I use
this function is doesn't! I don't get it..

Help?!


=SUMIF($AP$8128:$AP$24510,$BE8128,$AR$8128:$AR$24510)
 
Hi
what is in cell BE8128 and give some example data for your range AR...
 
Hi Frank,

cell BE8128 is a word (I've substituted the actual word
instead of the cell reference, to no success.

Column AP Column AR
Dog 100
Cat 50
Dog 120
(Blank) (blank)
Cat 66
 
KENNY wrote...
cell BE8128 is a word (I've substituted the actual word instead of th cell
reference, to no success.

Column AP Column AR
Dog 100
Cat 50
Dog 120
(Blank) (blank)
Cat 66 ...

Try

=SUMIF($AP$8128:$AP$24510,"*"&$BE8128&"*",$AR$8128:$AR$24510
 
Hi
Harlan's formula should work even if you have leading/trailing
characters in your source data. Could you post the EXACT formula you
have tried and what the returned result was
 
Thanks Frank

Below are the three different approaches I tried:


=SUMIF
($AP$8128:$AP$24510,"*"&$BE8128&"*",$AR$8128:$AR$24510)

=SUMPRODUCT((AP8128:AP24510=BE8128)*(AR8128:AR24510))

=SUMIF($AP$8128:$AP$24510,$BE8128,$AR$8128:$AR$24510)


They all return: #VALUE!
 

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