Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Garethm1976
 
Posts: n/a
Default cell reference from =max

What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=INDEX(A:A,MATCH(MAX(B:B ),B:B,0))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Garethm1976" wrote in message
...
What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need

to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A

B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks



  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

Try:

=INDEX(Sheet2!A:A,MATCH(MAX(Sheet2!B:B),Sheet2!B:B ,0))

for the max. For the 2nd largest:

=INDEX(Sheet2!A:A,MATCH(LARGE(Sheet2!B:B,2),Sheet2 !B:B,0))

HTH
Jason
Atlanta, GA


"Garethm1976" wrote:

What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks

  #4   Report Post  
Niek Otten
 
Posts: n/a
Default

=INDEX(Sheet2!A1:A3,MATCH(MAX(Sheet2!B1:B3),Sheet2 !B1:B3,0),1)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Garethm1976" wrote in message
...
What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need
to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A
B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks



  #5   Report Post  
garethm1976
 
Posts: n/a
Default

Thanks,
It worked, thank you very very much.

Regards Gareth.

"Jason Morin" wrote:

Try:

=INDEX(Sheet2!A:A,MATCH(MAX(Sheet2!B:B),Sheet2!B:B ,0))

for the max. For the 2nd largest:

=INDEX(Sheet2!A:A,MATCH(LARGE(Sheet2!B:B,2),Sheet2 !B:B,0))

HTH
Jason
Atlanta, GA


"Garethm1976" wrote:

What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks



  #6   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

Also of interest:

http://tinyurl.com/aft5l

for it looks like you want to extract a Top N (Top 2) list.

Garethm1976 wrote:
What i am trying to do is find the maximum value from a list of ammounts,
then from that maximum value (which i need in one cell as a value) i need to
find who that max figure relates to from a list of names ie.
Sheet2
A B
1 fred 1.00
2 gareth 2.00
3 laura 3.00
Sheet3
A B
1 =max('sheet2'!B1:B3) =3.00 this cell needs to display
name ie laura

god what a nightmare, also from this i need to do the same with
=large('sheet2'!B1:B2,2)

Please can someone help, thanks

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
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
international absulute cell reference Sadinga Excel Discussion (Misc queries) 5 December 22nd 04 10:08 PM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


All times are GMT +1. The time now is 07:42 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"