ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Referencing text of a cell next to the greatest value in column (https://www.excelbanter.com/excel-worksheet-functions/205285-referencing-text-cell-next-greatest-value-column.html)

Jrbuman

Referencing text of a cell next to the greatest value in column
 
I have two columns, one with a list of names and one with a list of scores.
On a different worksheet, I use the Max function to determine the highest
value in the column of scores. Next to that cell, I want to reference the
name next to whomever has the highest score. Does anyone have a simple
function to select the correct name?

Niek Otten

Referencing text of a cell next to the greatest value in column
 
=INDEX(Sheet1!A1:A6,MATCH(MAX(Sheet1!B1:B6),Sheet1 !B1:B6,0))

In this example A1:B6, adapt to tour needs.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jrbuman" wrote in message ...
|I have two columns, one with a list of names and one with a list of scores.
| On a different worksheet, I use the Max function to determine the highest
| value in the column of scores. Next to that cell, I want to reference the
| name next to whomever has the highest score. Does anyone have a simple
| function to select the correct name?




All times are GMT +1. The time now is 04:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com