I want to add the numbers in a column if one column equals one condition another column equals some other condition.

Please tell me the forumla to do this?