How can I retrieve information about a value from another sheet depending on which value is returned from a MAX function? (Let me Explain!)

leighhobson89

New Member
Joined
Aug 25, 2016
Messages
36
Hi guys. Screenshot 1 below shows a 'stats' table. The issue I am asking about relates to the "Date (BOR)" column. So the idea is that the "Best (Over Route)" column returns the result of the following formula:

Excel Formula:
=MIN('Route BenchMarks'!$E$36, MIN('Route 1'!$A$36:'Route 1'!$ZZ$36))

Screenshot 2 shows an example of what could get returned in C36; the whole row will be blank except for these values every third column; each new time will be pasted in three columns to the right of the last one as I do the events, so the formula finds the lowest time of each of these and prints it in the "Best (Over Route) column, or if the benchmark time is better it prints that. This works fine.

What I want for the "Date (BOR)" column, is to retrieve the relevant hardcoded value in the date field, so two cells directly above the relevant time that is retrieved in the formula for the "Best (Over Route)" column. For example, if it retrieved our example in Screenshot 2 as the best time, then the Date (BOR) column would print "16/02/2021". If the benchmark time was better, which is a hardcoded time on a seperate sheet, I would like it to just print "Benchmark".

I tried playing around with OFFSET function, but with little success. TIA.

Screenshot 1
1613939079266.png


Screenshot 2

1613939268992.png
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Is this for Excel or Google Sheets?
 
Upvote 0
Is this for Excel or Google Sheets?
I am doing it on Google Sheets but I was hoping that the concept could be explained as if it was Excel and then I could sort out the syntax from there if this is only an Excel forum. (That's assuming the solution would be different).
 
Upvote 0
In future questions about Sheets should be posted in the General Discussion & Other Applications section (I have moved it this time) and you should clearly state that it's for sheets. Not all Excel Formulae work in sheets.

That said you can try
Excel Formula:
=IF(J2='Route BenchMarks'!$E$36,"Benchmark",INDEX('Route 1'!$A$34:'Route 1'!$ZZ$34,MATCH(MIN('Route 1'!$A$36:'Route 1'!$ZZ$36),'Route 1'!$A$36:'Route 1'!$ZZ$36,0)))
 
Upvote 0
Solution
That worked a treat, sorry for the breach of etiquette, I don't think Sheets existed the last time I used this website. Thanks ever so much, I will mark it solved.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,034
Messages
6,176,001
Members
452,695
Latest member
Alhassan

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