Vinding name based on location and maximum value

RolandK

New Member
Joined
May 7, 2015
Messages
4
I got stuck on the formula to find the value of a cell, based on two conditions.
column A has location, column J has number of days. I now want to find the name with the highest number of days for each different location from column S.(rows in between do hold data, but are not relevant for thuis purpose) Added problem is that I can't predict the Total number of rows to look in.
I tried a dozen different was, but can't get it right. Please help!
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi,

Hi

I have a feeling there might be something missing in your description of what you require, but the below formula will tell you which location has the highest value in the corresponding Row in Column J.

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

Sara
 
Upvote 0
Hi Sara,

your feeling is right. Column S holds names. So i want to find the name that goes with the highest value for each location.
i have no access to the file until monday, but I think your formula sets me on the right path!

thanks for your reply, if my further info has given you an even better idea than please let me know

RolandK
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top