I just can't figure it out...

=IFERROR(AVERAGEIFS(TEAM[AGE],TEAM[ACT],"X",TEAM[POS],"LW"),"-")

That works, but TEAM[POS] should be "LW" or "AG".

I know I could use a combination of SUMIFS divided by COUNTIFS, but do you see any other way to achieve what I'm looking for ?