Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AK
 
Posts: n/a
Default vlookup colums with reference to a formula from another sheet

I created a workbook that has individual sheets with 5 separate contestant
scores. The last sheet is a total page with point totals for each contestant
as a reference from their individual sheet in column 1 and the corresponding
contestant name in column 2. I am trying to use vlookup to view the data in
column 1 and return the corresponding name in column 2 in a cell of my
choosing. The total page looks like this: Please note that the values in
column A are references from calculations from other sheets.
A B
45 Brian
39 Alice
42 Tim
40 Jim
50 Ana

How can I use vlookup to show "Ana" as the winner in a cell of my choosing.

Hopefully someone can help.

Thx



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default vlookup colums with reference to a formula from another sheet

Hi!

How can I use vlookup to show "Ana" as the winner


I assume Ana is the winner because she has the highest score?

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Ana

In case of ties the first instance of MAX will be used:

45 Brian
50 Alice
42 Tim
40 Jim
50 Ana

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Alice

Biff

"AK" wrote in message
...
I created a workbook that has individual sheets with 5 separate contestant
scores. The last sheet is a total page with point totals for each
contestant
as a reference from their individual sheet in column 1 and the
corresponding
contestant name in column 2. I am trying to use vlookup to view the data
in
column 1 and return the corresponding name in column 2 in a cell of my
choosing. The total page looks like this: Please note that the values in
column A are references from calculations from other sheets.
A B
45 Brian
39 Alice
42 Tim
40 Jim
50 Ana

How can I use vlookup to show "Ana" as the winner in a cell of my
choosing.

Hopefully someone can help.

Thx





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AK
 
Posts: n/a
Default vlookup colums with reference to a formula from another sheet

Thank you the formula worked perfectly!!!!

"Biff" wrote:

Hi!

How can I use vlookup to show "Ana" as the winner


I assume Ana is the winner because she has the highest score?

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Ana

In case of ties the first instance of MAX will be used:

45 Brian
50 Alice
42 Tim
40 Jim
50 Ana

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Alice

Biff

"AK" wrote in message
...
I created a workbook that has individual sheets with 5 separate contestant
scores. The last sheet is a total page with point totals for each
contestant
as a reference from their individual sheet in column 1 and the
corresponding
contestant name in column 2. I am trying to use vlookup to view the data
in
column 1 and return the corresponding name in column 2 in a cell of my
choosing. The total page looks like this: Please note that the values in
column A are references from calculations from other sheets.
A B
45 Brian
39 Alice
42 Tim
40 Jim
50 Ana

How can I use vlookup to show "Ana" as the winner in a cell of my
choosing.

Hopefully someone can help.

Thx






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default vlookup colums with reference to a formula from another sheet

You're welcome. Thanks for the feedback!

Biff

"AK" wrote in message
...
Thank you the formula worked perfectly!!!!

"Biff" wrote:

Hi!

How can I use vlookup to show "Ana" as the winner


I assume Ana is the winner because she has the highest score?

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Ana

In case of ties the first instance of MAX will be used:

45 Brian
50 Alice
42 Tim
40 Jim
50 Ana

=INDEX(B1:B5,MATCH(MAX(A1:A5),A1:A5,0))

Returns: Alice

Biff

"AK" wrote in message
...
I created a workbook that has individual sheets with 5 separate
contestant
scores. The last sheet is a total page with point totals for each
contestant
as a reference from their individual sheet in column 1 and the
corresponding
contestant name in column 2. I am trying to use vlookup to view the
data
in
column 1 and return the corresponding name in column 2 in a cell of my
choosing. The total page looks like this: Please note that the values
in
column A are references from calculations from other sheets.
A B
45 Brian
39 Alice
42 Tim
40 Jim
50 Ana

How can I use vlookup to show "Ana" as the winner in a cell of my
choosing.

Hopefully someone can help.

Thx








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the work sheet name in a formula by using cell reference Neel Excel Worksheet Functions 1 June 12th 06 09:24 AM
Worksheet name / reference as a formula? gabriel_e Excel Discussion (Misc queries) 4 January 24th 06 12:23 PM
refer to drop down item as a sheet reference in a formula milkman Excel Worksheet Functions 2 January 18th 06 07:09 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


All times are GMT +1. The time now is 12:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"