SUMIF not calculating

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)
 
K

KENNY

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
 
H

hgrove

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
 
F

Frank Kabel

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
 
K

KENNY

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

Top