Прескочи на основното съдържание

Как да покажа съответното име на най-висок резултат в Excel?

Автор: Xiaoyang Последна промяна: 2020-11-20

Да предположим, че имам набор от данни, който съдържа две колони – колона с име и съответната колона с резултат, сега искам да получа името на човека, който е получил най-висок резултат. Има ли добри начини за бързо справяне с този проблем в Excel?

Покажете съответното име на най-високия резултат с формули


стрелка син десен балон Покажете съответното име на най-високия резултат с формули

За да извлечете името на човека, който е получил най-висок резултат, следните формули могат да ви помогнат да получите резултата.

Моля, въведете тази формула: =INDEX(A2:A14,MATCH(MAX(B2:B14),B2:B14,FALSE),)&" Scored "&MAX(B2:B14) в празна клетка, където искате да се покаже името, и след това натиснете Въведете ключ за връщане на резултата, както следва:

показвано име на документ най-висок резултат 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 клавишите заедно, за да се покаже първото име, след това изберете клетката с формула и плъзнете манипулатора за попълване надолу, докато се появи стойността на грешката, всички имена, които са получили най-висок резултат, се показват както на екранната снимка по-долу:

показвано име на документ най-висок резултат 2

Най-добрите инструменти за продуктивност в офиса

🤖 Kutools AI помощник: Революционизирайте анализа на данни въз основа на: Интелигентно изпълнение   |  Генериране на код  |  Създаване на персонализирани формули  |  Анализирайте данни и генерирайте диаграми  |  Извикване на функциите на Kutools...
Популярни функции: Намерете, маркирайте или идентифицирайте дубликати   |  Изтриване на празни редове   |  Комбинирайте колони или клетки без загуба на данни   |   Кръг без формула ...
Супер търсене: VLookup с множество критерии    VLookup с множество стойности  |   VLookup в няколко листа   |   Размито търсене ....
Разширен падащ списък: Бързо създаване на падащ списък   |  Зависим падащ списък   |  Падащ списък с множество избори ....
Мениджър на колони: Добавете конкретен брой колони  |  Преместване на колони  |  Превключване на състоянието на видимост на скритите колони  |  Сравнете диапазони и колони ...
Препоръчани функции: Мрежов фокус   |  Изглед на дизайна   |   Голям формула бар    Мениджър на работни книги и листове   |  Библиотека с ресурси (Автоматичен текст)   |  Избор на дата   |  Комбинирайте работни листове   |  Шифроване/декриптиране на клетки    Изпращайте имейли по списък   |  Супер филтър   |   Специален филтър (филтър получер/курсив/зачертано...) ...
Топ 15 комплекта инструменти12 Текст Инструменти (добавяне на текст, Премахване на символи, ...)   |   50 + Графика Видове (диаграма на Гант, ...)   |   40+ Практичен формули (Изчислете възрастта въз основа на рождения ден, ...)   |   19 вмъкване Инструменти (Въведете QR код, Вмъкване на картина от пътя, ...)   |   12 Конверсия Инструменти (Числа към думи, Валутен обмен, ...)   |   7 Обединяване и разделяне Инструменти (Разширено комбиниране на редове, Разделени клетки, ...)   |   ... и още

Усъвършенствайте уменията си за Excel с Kutools за Excel и изпитайте ефективност, както никога досега. Kutools за Excel предлага над 300 разширени функции за повишаване на производителността и спестяване на време.  Щракнете тук, за да получите функцията, от която се нуждаете най-много...

Описание


Раздел Office Внася интерфейс с раздели в Office и прави работата ви много по-лесна

  • Разрешете редактиране и четене с раздели в Word, Excel, PowerPoint, Publisher, 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