I am trying to get the average of a column of data, but only if another column states that it is "ATFAB". Here is what I came up with, but it doesn't work. Please help

=AVERAGE(('Lease POs and Dates'!$F2:$F100="ATFAB"),('Lease POs and Dates'!$N2:$N100))