excel

  • Thread starter Thread starter smason
  • Start date Start date
S

smason

Hello i have aspread sheet which contains two columns example


amount code
100 bb01
200 cc02
300 bb01
what i would like to do is calcutlate all the cells (amount ) where the code
is bb01 for example and get the total 400
 
You can use the Sumif formula to do this as follows:

=SUMIF($B$1:$B$3,"bb01",$A$1:$A$3)
 

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