7. AVERAGEIF for multiple
conditions
To calculate the average Distinction mark,
Pass mark & Fail mark
=AVERAGEIF(C3:C10,"Distinction",B3:B10)
=AVERAGEIF(C3:C10,"Pass",B3:B10)
=AVERAGEIF(C3:C10,"Fail",B3:B10)
8. COUNTIFS
If you want to count rows
where two (or more) criteria
match, you can use a formula
based on the COUNTIFS
function.