Most Recent Result

Takes2ToTango

Board Regular
Joined
May 23, 2023
Messages
55
Office Version
  1. 365
Platform
  1. Windows
1695204926207.png


I have been trying to create a forumla but I only seem to get errors once I hit enter. My goal is to use the lookup date and find the most recent one depending on which person is selected. For example, if Basil is selected the most recent date would be 06/09 and the result 45. However, if the person is changed to Steve, then the most recent date would change to 07/05 and the result 65. I have attempted arrays but nothing seems to deliver the right result.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Can you post some realistic data, showing more than one row for each name.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Can you post some realistic data, showing more than one row for each name.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Book1
FGH
3Last Date RecordedName of TesterResult
415/01/2004Mick25
520/08/2023Mick80
625/07/2023Mick45
720/07/2020Basil60
806/06/2023Basil48
907/06/2023Basil95
1009/01/2023Sue33
1118/05/2023Sue15
1223/08/2023Sue68
1301/01/2019Gaz45
1429/07/2023Gaz77
1515/08/2023Gaz95
16
17Lookup DateLookup TesterResult
1820/09/2023Basil
Sheet1
Cell Formulas
RangeFormula
F18F18=TODAY()



here is the mini sheet with the contents
 
Upvote 0
Thanks for that, as the dates don't seem to be in order try
Fluff.xlsm
FGH
1
2
3Last Date RecordedName of TesterResult
415/01/2004Mick25
520/08/2023Mick80
625/07/2023Mick45
720/07/2020Basil60
806/06/2023Basil48
907/06/2023Basil95
1009/01/2023Sue33
1118/05/2023Sue15
1223/08/2023Sue68
1301/01/2019Gaz45
1429/07/2023Gaz77
1515/08/2023Gaz95
16
17Lookup DateLookup TesterResult
1820/09/2023Basil95
Sheet5
Cell Formulas
RangeFormula
F18F18=TODAY()
H18H18=TAKE(SORT(FILTER(F4:H15,G4:G15=G18),1,-1),1,-1)
 
Upvote 0
Solution
Great thank you, that works perfect! How does the end section of =TAKE work? So I can remember for future
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,126
Messages
6,123,200
Members
449,090
Latest member
bes000

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