can I sum one column if the value of another column is ex. "M"

W

Wanda

I need to sum column D (currancy) if the value of column C is an "M"

I've been trying =SUMIF but can't seem to get it right.
 
Top