If Formula

M

Matt

How would I make an if formula to say if Column A = MF
then add the numbers in column B so that it would be MF=18
and FW=8?

A B
MF 3
FW 4
MF 2
MF 6
MF 7
FW 4
 
Top