worksheet function - Excel: AVERAGE IF -


Let's say I have an Excel sheet, which:

is the salary in column 1 - Column 2 contains gender (M / F)

How can I calculate the average salary for women?

  = AVERAGE (IF (B1: B10 = "F", A1: A10))   

is entered as an array function (i.e. instead of entering Shift-CTRL-enter simply)

Comments