Add and count

Average numbers that meet a condition

=AVERAGEIF(A2:A5,E2,B2:B5)

How it works in Excel

The idea in general

Take only the rows you care about, add them up, and divide by how many there are.

What I assumed

Check the result on your own data before relying on it.

Related

Ask another question