Vlookup for the Latest date on multiple matches

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
Office Version
  1. 365
Hi

I am using the following formula but im trying to get it to pick up the latest date that it matches (in most cases there are multiple matches)
=VLOOKUP(K3,'All Milestone Report'!$U$18:$AF$11968,3,0)
The source data is in Date order

Where am i going wrong?

I have tried changing in to the approximate setting which works if there are matches in the source data but it also populates rows where there are no matches...
=VLOOKUP(K3,'All Milestone Report'!$U$18:$AF$11968,3,TRUE) but this doesnt work as it brings up incorrect matches



Thanks
 

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.
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
Excel Formula:
=MAXIFS('All Milestone Report'!$W$18:$W$11968,'All Milestone Report'!$U$18:$U$11968,K3)
what would you want to appear if there is no match?
 
Upvote 0
Thanks for that, how about
Excel Formula:
=MAXIFS('All Milestone Report'!$W$18:$W$11968,'All Milestone Report'!$U$18:$U$11968,K3)
what would you want to appear if there is no match?
Cheers - i would like 0 of there is no match
 
Upvote 0
In that case the formula should be fine.
 
Upvote 0
Just about to log onto a meeting - ill give it a go in an hour or so and let you know how i get on- thanks
 
Upvote 0
To have a blank try
Excel Formula:
=IFERROR(1/(1/MAXIFS('All Milestone Report'!$W$18:$W$11968,'All Milestone Report'!$U$18:$U$11968,K3)),"")
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,656
Members
449,091
Latest member
peppernaut

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