sum cells based on another cell value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I have column A listing whole numbers. Column B lists categories a,b, or c.
I would like to sum the values in column A only if the corresponding cell in
Column B contains the letter c.

ie.
10 c
20 b
15 c

sum = 25
 
Hello there,

Try a SumIf function:

=SUMIF(B1:B3,"c",A1:A3)

Hope this helps

Judith
 
=SUMIF(B:B,"c",A:A)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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