Note: The other languages of the website are Google-translated. Back to English

How to find value with latest date in Excel?

Normally, it’s easy to find records with the latest date by sorting date column easily in Excel. However, in some situations, data is protected from being sorted, or sorting may destroy data or data structure. Therefore, how could you find value with the latest date without sorting? There are three solutions for you:


Find value with the latest date by formula 1

In general, you can apply the MAX function to find out the latest date, and then apply the VLOOKUP function to look for the value in Excel easily.

For example, you need to find out the Amount occurring on the latest date, you can apply below formula:

=VLOOKUP(MAX(B3:B26),B2:D26,3,FALSE)

Note: in above formula,

  • B3:B26 is the date column, and MAX(B3:B26) will find out the latest date in the date column;
  • B2:D26 is the whole table where you will find value;
  • 3 means you will find value in the third column of the table.

This formula requires the date column is placed on the left hand of the amount column. And it will return only the first matched value no matter how many matched values exist.


Find value with the latest date by formula 2

If your date column is on the right side of amount column, the VLOOKUP function will return error values. In this situation, you can combine the INDEX, MATCH, and MAX functions to find value with the latest date in Excel.

Select a blank cell, enter below formula, and press the Enter key.

=INDEX(C3:C26,MATCH(MAX(D3:D26),D3:D26,0))

Note: In above formula,

  • D3:D26 is the date column, MAX(D3:D26) will find the latest date in the date column, and MATCH(MAX(D3:D26),D3:D26,0) will figure out the row number of the latest date in the date column.
  • C3:C26 is the amount column where you will find value.

This formula also can return only the first matched value no matter how many matched values exist.


Find value with the latest date with an amazing tool

If you want to find all matched values with the latest date no matter the date column is on the left or right hand, you can apply the Advanced Combine Rows feature of Kutools for Excel.

Kutools for Excel- Includes more than 300 handy tools for Excel. Full feature free trial 60-day, no credit card required! Get It Now

1. Select the range you will find values from, and click Kutools > Content > Advanced Combine Rows.

Tip: The Advanced Combine Rows feature will change original data. It’s recommended to copy your range to a new place, and then apply this feature to the new range.

2. In the Advanced Combine Rows dialog, please configure as follows:
(1) Click to select the Date column, and click the Primary Key;
(2) Click to select the Amount column, and click Combine > Comma;
(3) Specify calculations or combinations for other columns. In this case, I add counting calculation for the Name column with clicking Calculate > Count.
 

3. Click the Ok button.

Now you will see the rows are combined based on the date column. All amount values occurring on the same date are combined into one cell. See screenshot:

Note: If there are still multiple dates existing, you can select the date column, and click Date > Sort to get the latest date and corresponding values easily.


Related articles:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (4)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How do I do carry out the first method using a row reference instead of a column one? - that is, replace the column reference 3 with a row reference in the formula?
This comment was minimized by the moderator on the site
If i use the second metthod (which will enable me to enter a cell range along a row, and only cells with dates before today contain values, how should the formula take account of that?
This must be a common question as data are entered as time progresses, while dates have been entered in advance.
This comment was minimized by the moderator on the site
coa cái đầu buồi
This comment was minimized by the moderator on the site
Thank you so much for the tutorial,
Now what if using the values of your example;
I want to find the latest value for Nancy for the latest date?
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations