Making a calculation based on criteria

B

Brent E

Good afternoon,

I am trying to assist somebody at work. They came to me and asked a
question. I would like to ask if there is a way to set a formula in a totals
cell at the bottom or a spreadsheet (for example) where for every cell in
Column A that contains a certain ID, their corresponding values in column B
are summed. For instance if A2 A3 AND A11 contain a specific ID, then a
'totals' cell would add B2, B3 AND B11. I would like to use an IF statement
or something for example: (SUM B cells where A cells=ID). What syntax would I
use for this? Thanks.

Cordially,
 
B

Brent E

Sorry, I meant to post this in Excel General Questions instead. But If u know
an answer I appreciate your assistance. Thanks.
 
Top