formula to find most recent date

buteaur

Board Regular
Joined
Mar 15, 2016
Messages
170
Can you build a formula to only pull data associated with the most recent date?

Example:

A1 - A100 has dates ranging from 06/25/18 - 08/11/17

I only want the data from the most recent date. This report will be updated everyday so I was hoping to have a formula that I can use everyday.

Thank you
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Maybe something like this:


Excel 2013/2016
ABC
16/25/2018AA
26/24/2018B
36/23/2018C
46/22/2018D
56/21/2018E
66/20/2018F
76/19/2018G
86/18/2018H
96/17/2018I
106/16/2018J
116/15/2018K
126/14/2018L
136/13/2018M
146/12/2018N
156/11/2018O
166/10/2018P
176/9/2018Q
186/8/2018R
196/7/2018S
206/6/2018T
Sheet1
Cell Formulas
RangeFormula
C1=VLOOKUP(MAX(A1:A20),A1:B20,2,FALSE)


The dates can be in any order, I just happen to have them in rev order because it was simple and quick.
 
Upvote 0
Hello. Thank you for the quick response. When I put this vlookup in, it pulled all data for all dates not just the newest date.

Any thoughts?

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,823
Members
449,470
Latest member
Subhash Chand

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