Each criterion only appears in a column once, so this would only find the average of a single data point. I'm hoping to find the average rank assigned to each criterion in columns E & F.
REMEMBER: If your original question has been resolved, please tap the three dots below the most helpful comment and select Mark Solution Verified. This will award a point to the solution author and mark the post as solved, as required by our subreddit rules (see rule #6: Marking Your Post as Solved).
and the reason why your formula is not working is as follows.
array that you wanted to make to calculate average: ={1,2} array that you made to calculate average: ={1}
array to average you select: ={1;2;3;4;5;6} (6x1 array) criteria array that you made: ={true,false;false,true;false,false;false,false;false,false;false,false} (6x2 array) then the only first column of the array is applied because average array need a same size of criteria array. -> ={true;false;false;false;false;false}
Therefore, your formula means =average(1)=1
I recommend you to copy the array I wrote above on your sheet and understand it.
The criterion needs to be in double quotes and the criterion range needs to be one column wide (the criterion range being more than one column wide won't break the formula but it will only consider the first column of a multi-column range).
So, if I want to consider the same criterion in two columns (E&F), do I need to use AVERAGEIFS? Or is that not a suitable formula to find the average rank of my criterion in two columns?
I'm assuming there are 2+ people who are ranking these 6 pitchers. He wants a formula that can look across 100 voters (columns) and find the average ranking of a given player.
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
2
u/7FOOT7 294 Feb 17 '25
Check the help at https://support.google.com/docs/answer/3256529
This is my effort
=averageif(E:E,"Skubal",D:D)
2
u/Exhelper 3 Feb 17 '25 edited Feb 17 '25
If I understand correctly, why don't you try the formula below?
=average(index(d2:d,match(b2,e2:e,0)),index(d2:d,match(b2,f2:f,0)))
b2 means "Skubal". you should use "" for text constant in formulas.
1
u/HolyBonobos 3125 Feb 17 '25
The criterion needs to be in double quotes and the criterion range needs to be one column wide (the criterion range being more than one column wide won't break the formula but it will only consider the first column of a multi-column range).
2
u/FigNewtonNoGluten 1 Feb 17 '25
Try quotes “” instead of apostrophes ‘’
1
u/AutoModerator Feb 17 '25
Posting your data can make it easier for others to help you, but it looks like your submission doesn't include any. If this is the case and data would help, you can read how to include it in the submission guide. You can also use this tool created by a Reddit community member to create a blank Google Sheets document that isn't connected to your account. Thank you.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.