跳到主要内容

如何在Excel中显示得分最高的对应名称?

假设我有一系列包含两列的数据-名称列和相应的得分列,现在,我想获得得分最高的人的名字。 有什么好的方法可以在Excel中快速解决此问题?

用公式显示得分最高的对应名称


箭头蓝色右气泡 用公式显示得分最高的对应名称

要检索得分最高的人的姓名,以下公式可以帮助您获得输出。

请输入以下公式: =INDEX(A2:A14,MATCH(MAX(B2:B14),B2:B14,FALSE),)&" Scored "&MAX(B2:B14) 放入要显示名称的空白单元格,然后按 输入 返回结果的键如下:

doc显示名称最高分1

笔记:

1.在上式中 A2:A14 是要从中获取名称的名称列表,并且 B2:B14 是得分列表。

2.只有在具有相同最高得分的多个名称中,上述公式才能获得名字,要获得所有得分最高的名称,以下数组公式可能会有所帮助。

输入以下公式:

=INDEX($A$2:$A$14,SMALL(IF($B$2:$B$14=MAX($B$2:$B$14),ROW($B$2:$B$14)-1),ROW(B2)-1)),然后按 Ctrl + Shift + Enter 键一起显示名字,然后选择公式单元格并向下拖动填充手柄,直到出现错误值为止,所有得分最高的名称将显示如下屏幕截图:

doc显示名称最高分2

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi sir, I tried this method, But the problem is if top two students have the same score when I look for the highest 3 one student's name alone is repeated twice with the same score instead of second student's name. How to solve this.
This comment was minimized by the moderator on the site
Hello, Divyanathan
Maybe the following array formula can help you:

=IFERROR(INDEX(A:A,SUM(IF(($B$2:$B$100+ROUND(0.1/ROW($B$2:$B$100),5))=LARGE($B$2:$B$100+ROUND(0.1/ROW($B$2:$B$100),5),ROW(A1)),ROW($B$2:$B$100)))),"")


Note: After inserting the formula, please press Ctrl + Shift + Enter keys together to get the first result, and then drga this formula cell down to get the largest n results as you need.

Please have a try, hope it can help you!
This comment was minimized by the moderator on the site
Hola disculpa me podrías apoyar para sacar la formula o otro tipo de dato que me pueda dar el nombre del tota de un resultado?

explico tengo una tabla con 4 nombres diferentes distribuidos en las celdas C3,D3,E3 y F3 de las cuales cada celda mencionada tiene rangos de productos ejemplo: detergentes
y cada celda mencionada tiene precios diferentes.
en el resultado que debo de mostrar es el valor mínimo de precio de cada detergente de las celdas ya mencionadas arriba, y a lo que quiero llegar es que indique una formula o un dato que indique que en cada resultado a la derecho me indique el nombre del valor de resultado.
muestro un ejemplo mas especifico: en la celda <C3> tiene un nombre de insumos, en la celda C4 hasta C120 están los precios de cada detergente que maneja la celda C3, en la celda <D3> esta un nombre de biodetergentes, y mismo proceso la celda D4 hasta D120 están los precios en la celda G4 se encuentra el resultado del valor mínimo de estos dos nombres (insumos-biodetergentes) teniendo el valor menor el de nombre de insumos. ahora en la celda H4 quiero que me aparezca el nombre del valor de resultado en este caso que me aparezca el nombre de "insumos" como puedo hacer para que me aparezca este nombre? espero me allá podido dar a entender de lo que requiero
muchas gracias por su atención
saludos cordiales.
This comment was minimized by the moderator on the site
ik heb het ook geprobeerd met alle dezelfde gegevens zoals in het voorbeeld maar het werkt totaal niet
This comment was minimized by the moderator on the site
Hello jac, Sorry to hear that. As I have answered in the below comment, the two formulas work great for me. And I have been wondering why the formulas aren't working for the readers. There are two reasons that can lead to the malfunction of the second formula. 
First, if you are using Excel versions before Excel 2020, then you must enter the formula =INDEX($A$2:$A$14,SMALL(IF($B$2:$B$14=MAX($B$2:$B$14),ROW($B$2:$B$14)-1),ROW(B2)-1)) via pressing Ctrl + Shift + Enter keys together.
Second, When you get the first result, remember to select the formula cell and drag the fill handle down until error value appears. So all the other results will be returned.
And as you can see in the screenshots below, the two formulas are working fine for me.  Hope my solution works. Have a nice day.
Sincerely,Mandy
This comment was minimized by the moderator on the site
bullshitdoes not work
This comment was minimized by the moderator on the site
Hello,
Sorry to hear that. But I did tried the two formulas in the article and both of them works perfectly. Please see the screenshots I uploaded here. And we would love to solve the problem for you if you can provide the details of the problem. Looking forward to your reply.Sincerely,Mandy
This comment was minimized by the moderator on the site
Trying to do the same thing but with the minimum score in Microsoft sheets. I swapped max for min as below and it didn't work =INDEX($A$2:$A$14,SMALL(IF($B$2:$B$14=MIN($B$2:$B$14),ROW($B$2:$B$14)-1),ROW(B2)-1))
This comment was minimized by the moderator on the site
Hi. This formula was exactly what I was looking for. However is there a way do this with the lowest Score but above 0 (in my case £00.00) I removed the bit of formula that displays the amount as only needed the Name and comment.I changed the MAX for MIN but there are a few entries at 0 (£00.00) and formula displays the name for the first of the '0' entries
This comment was minimized by the moderator on the site
Hello, Nigel,To lookup the lowest value above 0, you should apply the below array formula:After entering the formula, please remember to press Ctrl + Shift + Enter keys together to get the correct result.=INDEX(A2:A8,MATCH(MIN(IF(B2:B8>0,B2:B8)),B2:B8,0))&" Scored "&MIN(IF(B2:B8>0,B2:B8))
Please try, hope it can help you!
This comment was minimized by the moderator on the site
How do you find the second highest student? Please help me :( I only get the name of Thomas.
This comment was minimized by the moderator on the site
How do you find the second highest student?
This comment was minimized by the moderator on the site
How would you show two names if the high scores match?
This comment was minimized by the moderator on the site
Hello, Chris,
To get all names if there are multiple high scores match, the second formula in this article can do you a favor.
Please try it, thank you!
This comment was minimized by the moderator on the site
How would you get the matching numbers with the corresponding names to display horizontally?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations