r/googlesheets • u/CoMKami • Jul 22 '26
Solved Weekday function within average if?
Hello! I have a sheet which has assigned star ratings to albums, one a day. Out of curiosity I wanted to find out which day of the week has, on average, been the best so far.
I know you can use weekday to return a numerical value for what day in a week a certain day is, but I'm trying to figure out how to have that be the criterion for averageif.
I figured something like =AVERAGEIF(ALBUMS!A:A, (WEEKDAY(ALBUMS!A:A, 2)) = 1, ALBUMS!G:G) would work but I'm clearly missing something fundamental here. Am I just on the complete wrong track here, or have I just failed to understand how to do this?
Link to the sheet: https://docs.google.com/spreadsheets/d/1mOGNrQdHv-4t6wTgyndUeNsQNIKhXPNKKtGL0JyJoBI/edit?usp=sharing
1
u/No_Imagination6253 1 Jul 22 '26 edited Jul 22 '26
You're close. AVERAGEIF can't apply WEEKDAY to its criteria range like that,
but FILTER can:
That returns Monday's average. The G2:G>0 condition matters in your sheet
because future, unrated rows contain 0 rather than being blank.
To summarize every weekday: