简体   繁体   English

我需要把每支球队的 N 个最高球员的分数相加

[英]I need to sum N highest players' score of each team

So I have a sheet like this所以我有一张这样的表

players:球员:

球员

and I need to get the sum of 4 highest scores of each team like this:我需要像这样得到每个团队的 4 个最高分的总和:

4-sum

even when there are less than 4 players in a team (sum of 1, 2 or 3 best in these cases then) but without any scripts, I believe it's more than possible即使团队中的球员少于 4 人(在这些情况下,最好的总和为 1、2 或 3 名)但没有任何脚本,我相信这更有可能

try:尝试:

=ARRAYFORMULA({UNIQUE(SORT(FILTER(B2:B, B2:B<>""))), 
 MMULT(QUERY(SPLIT(TRANSPOSE(TRIM(QUERY(QUERY({9^9-C2:C&A2:A, B2:C}, 
 "select max(Col3) 
  where Col2 !='' 
  group by Col1 
  pivot Col2"),,999^99))), " "), 
 "select Col2,Col3,Col4,Col5")*1, {1;1;1;1})})

0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 计算每个日期的值的总和,并返回最高的总和 - Calculate the sum of values for each date, and return the highest sum 如何在 Google 表格中找到每组中的最高 N 值 - How to find the highest N values in each group in Google Sheets 从几组数据中,将每个Id的最大数字相加 - From several sets of data, sum the highest numbers for each Id Google 表格 - 如何按团队返回参与者分数,按分数排序? - Google Sheets - how can I return participants scores by team, sorted by score? 最高总和数组列表 - Highest Sum Array List 如何在表格的每一行中突出显示最高值? - How can I highlight the highest value in each row of a table? 根据最高百分比设置列表中的前 11 名球员(谷歌表格) - Set the top 11 players on a list according to highest percentages (Google Sheets) 跨多行,对于两个日期之间的每个工作日,计算一个值,然后按周求和并按团队成员姓名分组 - Across multiple rows, for each weekday in-between two dates, calculate a value, then sum by week and group by team member's name 如何忽略此 SUM 中的 N/A 值? (谷歌表格) - How do I ignore N/A values in this SUM? (Google Sheets) 查找数字总和最高的行名 - Find the row name with the highest sum of numbers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM