I'm trying to write a formula that can match 2 criteria and if the match is TRUE then it returns the average of the range provided.
Criteria are:
- User ID
- Week number.
So for the user id provided, i want it to match it with the week number and then return the average of that week from the whole range.
I tried below, though I may know what is wrong with it I cannot really find a solution for it.
=IF(and('Stockholm perf'!A5:A32=$A3,'Stockholm perf'!C3:AB3=C$2),AVERAGE('Stockholm perf'!C5:I32),"WRONG")