Forum search & shortcuts

Excel help please..
 

[Closed] Excel help please..

Posts: 2418
Free Member
Topic starter
 
[#6006517]

Hi all,

Quick Excel question..

Got two columns of data. Want to search the right hand column for it's max value, and present. That's easy, just use the MAX function. I then also want to present the value to the left of the maximum value of the right column. How do I do that?

Ta, Duane.


 
Posted : 03/03/2014 6:14 pm
Posts: 11937
Free Member
 

Index and match: http://www.randomwok.com/excel/how-to-use-index-match/

You use match to find the result of the max function in the right hand column, then index to find that row in the left hand column.


 
Posted : 03/03/2014 6:19 pm
Posts: 5346
Free Member
 

Be aware that if the max value has duplicates that^ won't necessarily return what you're after.


 
Posted : 03/03/2014 6:30 pm
Posts: 2418
Free Member
Topic starter
 

Thanks, still struggling though, absolute Excel luddite :/


 
Posted : 03/03/2014 8:11 pm
Posts: 0
Free Member
 

Not really sure I understand but if your column of values is in col B, then try this in col A: =IF(B2=MAX(B:B),B2,"") - Put in A2 first then drag down.

Edit - you may want to change the last B2 reference in the formula to refer to another column? e.g change it to C2 to show the value in col c.


 
Posted : 03/03/2014 8:34 pm