Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default Help with VLOOKUP or other matching function

Hey gang,

I need help with the following problem. I have a worksheet that lists names
in colA, averages in colB, and scores in colC.

I'd like to be able to show the high scores in a different section on the
worksheet. I can use MAX function to locate the largest number (score, avg)
but how do I get the name associated with it? Also, how can I show the 2nd
and 3rd largest scores or averages? Will I have to use a different function
than MAX (such as LARGE)??

Thanks again for all the help!
Matt

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help with VLOOKUP or other matching function

=LARGE(B2:B100,1)
first largest
=LARGE(B2:B100,2)
second largest
To get the name associate with it
=INDEX(A2:A100,MATCH(LARGE(B2:B100,1),B2:B100,0))

Adjust your range to suit your needs


"mpenkala" wrote:

Hey gang,

I need help with the following problem. I have a worksheet that lists names
in colA, averages in colB, and scores in colC.

I'd like to be able to show the high scores in a different section on the
worksheet. I can use MAX function to locate the largest number (score, avg)
but how do I get the name associated with it? Also, how can I show the 2nd
and 3rd largest scores or averages? Will I have to use a different function
than MAX (such as LARGE)??

Thanks again for all the help!
Matt

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default Help with VLOOKUP or other matching function

Hi there,

I can't seem to get the formula to work. This is what I have:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1)B 2:B28,0))

Excel keeps trying to put a * before the 2nd B2 near the end. If this helps:
A2:A28 are a list of names
B2:B28 is a list of scores

In cell A42 I have the high score. I would like cell A41 to give me the
name associated with that score.

Any ideas? Thanks for the help.

Matt



"Teethless mama" wrote:

=LARGE(B2:B100,1)
first largest
=LARGE(B2:B100,2)
second largest
To get the name associate with it
=INDEX(A2:A100,MATCH(LARGE(B2:B100,1),B2:B100,0))

Adjust your range to suit your needs


"mpenkala" wrote:

Hey gang,

I need help with the following problem. I have a worksheet that lists names
in colA, averages in colB, and scores in colC.

I'd like to be able to show the high scores in a different section on the
worksheet. I can use MAX function to locate the largest number (score, avg)
but how do I get the name associated with it? Also, how can I show the 2nd
and 3rd largest scores or averages? Will I have to use a different function
than MAX (such as LARGE)??

Thanks again for all the help!
Matt

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with VLOOKUP or other matching function

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1)B 2:B28,0))
Excel keeps trying to put a * before the 2nd B2 near the end.


You're missing a comma and the sheet name:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1), Sheet2!B2:B28,0))

If there are duplicates this won't work properly!

Biff

"mpenkala" wrote in message
...
Hi there,

I can't seem to get the formula to work. This is what I have:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1)B 2:B28,0))

Excel keeps trying to put a * before the 2nd B2 near the end. If this
helps:
A2:A28 are a list of names
B2:B28 is a list of scores

In cell A42 I have the high score. I would like cell A41 to give me the
name associated with that score.

Any ideas? Thanks for the help.

Matt



"Teethless mama" wrote:

=LARGE(B2:B100,1)
first largest
=LARGE(B2:B100,2)
second largest
To get the name associate with it
=INDEX(A2:A100,MATCH(LARGE(B2:B100,1),B2:B100,0))

Adjust your range to suit your needs


"mpenkala" wrote:

Hey gang,

I need help with the following problem. I have a worksheet that lists
names
in colA, averages in colB, and scores in colC.

I'd like to be able to show the high scores in a different section on
the
worksheet. I can use MAX function to locate the largest number (score,
avg)
but how do I get the name associated with it? Also, how can I show the
2nd
and 3rd largest scores or averages? Will I have to use a different
function
than MAX (such as LARGE)??

Thanks again for all the help!
Matt



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default Help with VLOOKUP or other matching function

Hey again,

Thanks Biff. The comma was what I was missing. Everything is working
perfect!

Thanks again,
Matt


"T. Valko" wrote:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1)B 2:B28,0))
Excel keeps trying to put a * before the 2nd B2 near the end.


You're missing a comma and the sheet name:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1), Sheet2!B2:B28,0))

If there are duplicates this won't work properly!

Biff

"mpenkala" wrote in message
...
Hi there,

I can't seem to get the formula to work. This is what I have:

=INDEX(Sheet2!A2:A28,MATCH(LARGE(Sheet2!B2:B28,1)B 2:B28,0))

Excel keeps trying to put a * before the 2nd B2 near the end. If this
helps:
A2:A28 are a list of names
B2:B28 is a list of scores

In cell A42 I have the high score. I would like cell A41 to give me the
name associated with that score.

Any ideas? Thanks for the help.

Matt



"Teethless mama" wrote:

=LARGE(B2:B100,1)
first largest
=LARGE(B2:B100,2)
second largest
To get the name associate with it
=INDEX(A2:A100,MATCH(LARGE(B2:B100,1),B2:B100,0))

Adjust your range to suit your needs


"mpenkala" wrote:

Hey gang,

I need help with the following problem. I have a worksheet that lists
names
in colA, averages in colB, and scores in colC.

I'd like to be able to show the high scores in a different section on
the
worksheet. I can use MAX function to locate the largest number (score,
avg)
but how do I get the name associated with it? Also, how can I show the
2nd
and 3rd largest scores or averages? Will I have to use a different
function
than MAX (such as LARGE)??

Thanks again for all the help!
Matt




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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Advance Vlookup function may help!! PA Excel Worksheet Functions 6 May 7th 06 04:09 AM
vlookup and a function field input Patrick Excel Worksheet Functions 2 April 27th 06 04:38 PM
Help with VLookup function JohnK Excel Worksheet Functions 6 August 22nd 05 12:52 PM
Vlookup w/Date Function cym Excel Worksheet Functions 1 March 25th 05 08:21 PM


All times are GMT +1. The time now is 09:44 AM.

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

About Us

"It's about Microsoft Excel"