Max Date and Return Value

ddd2009

New Member
Joined
Oct 3, 2014
Messages
16
Office Version
  1. 365
Good afternoon

I return the value in sheet 1 column B from sheet 2, column C based on the max date for each ref in column A. I have manage to return the max date but cannot fathom out how to then return 11 for Ref 1, 8 for Ref 2 and 1 for Ref 3.

Any help is greatly appreciated

Thank you in advance
A

Sheet I
1642696083897.png


Sheet 2
1642696238416.png
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Thanks for that, how about like
+Fluff 1.xlsm
ABCDEFGH
1101/01/202210
2102/01/202212103/01/202211
3103/01/202211205/01/20228
4201/01/20224306/01/20222
5204/01/20226
6205/01/20228
7301/01/20221
8306/01/20222
9305/01/20221
10
Sheet2
Cell Formulas
RangeFormula
G2:H4G2=INDEX(SORT(FILTER($B$1:$C$9,$A$1:$A$9=F2),1,-1),1)
Dynamic array formulas.
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,032
Messages
6,122,770
Members
449,095
Latest member
m_smith_solihull

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