Add values with same code

  • Thread starter Thread starter rodolform
  • Start date Start date
R

rodolform

I have a ws with two columns one with a value and other with a code,
want to add all the values with the same code, any ideas????

value code
14 1
21 2
14 1
16 1
21 2

Result for code 1=44
Result for code 2=42

I'll have about 10 different codes.

Thank you
Rodolf
 
Thank you for your reply.

I'm using =sumif(a2:a10,1,b2:10) but get a NAME error back, what I'
doing wrong???

Rodolf
 
sumif(a2:a10,1,b2:10) but get a NAME error back, what I'm
Think about where you are using your criteria?
and you left out the A in your range
 
No, I use excel in spanish, but have a function translator where SUMI
= SUMA.S
 
got it.....

It results that my function translator has a mistake because SUMIF
SUMAR.SI I was missing an R in the function name.


Thank you all for your help.:
 

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