The fastest way to get the maximum (latest) date in Excel is the MAX function: if your dates are in cells B2:B100, type =MAX(B2:B100) in an empty cell and press Enter. Excel returns the most recent date as a date serial number, so you usually need to format the result cell as a Date to see it properly. The MAXIFS function (Excel 2019, Excel for Microsoft 365, Excel for the web) extends this to conditional worksheets - for example, the latest date per team or per region.
A quick word before you start: Excel menu labels can differ slightly by version, platform and region, so if a label below doesn't match exactly, look for the nearest equivalent.
What You'll Need
- Excel for Microsoft 365, Excel 2024, Excel 2021, Excel 2019, Excel for the web, or Excel for Mac (the MAX function works in every version; MAXIFS needs a version that supports it).
- Dates stored as real Excel dates - not text like "5 Dec 2025" typed with a leading apostrophe or pasted from a system that treats it as text.
- An empty cell where the result will live (for example D2).
Step-by-Step
- Confirm your dates are genuine dates. Select the date column, then look at the Home tab in the Number group: if the Number Format box says Text, the values are text strings and MAX will return 0. Real dates are right-aligned by default. To convert text dates, use Data > Text to Columns on the column, choose Delimited, click Next twice and pick Date with the correct order (MDY or DMY), then Finish.
- Click the empty cell where you want the latest date (say D2).
- Type the basic formula:
=MAX(B2:B100). Replace B2:B100 with your own date range. Press Enter. - Format the result as a date. Select the formula cell, go to Home > Number Format and choose Short Date or Long Date, or press Ctrl+1 (Cmd+1 on Mac) and choose the Date category. Without this, you may see a number such as 45996, which is Excel's internal date serial number.
- For a range with blanks or text leftovers, wrap it in IFERROR if you want a friendly blank instead of 0:
=IFERROR(MAX(B2:B100),""). MAX already ignores blank cells and text, so this is cosmetic. - Get the latest date for one condition. Use MAXIFS. Example - latest order date for the North region, where regions are in C2:C100:
=MAXIFS(B2:B100,C2:C100,"North"). The syntax is MAXIFS(max_range, criteria_range1, criteria1, ...). You can add more pairs for more conditions, such as">="&DATE(2025,1,1). - Get the latest date for several conditions at once with the same function:
=MAXIFS(B2:B100,C2:C100,"North",D2:D100,"Open"). - Return the whole row for that latest date. If you want the item, name or amount tied to the newest date, use XLOOKUP:
=XLOOKUP(MAX(B2:B100),B2:B100,A2:A100). The maximum date is looked up in the date column and the matching value from column A is returned. In older versions, use=INDEX(A2:A100,MATCH(MAX(B2:B100),B2:B100,0)). Note that MATCH returns only the first match if two rows share the same latest date. - Put the max date on a dashboard or summary block. A simple label - "Latest entry: " followed by a TEXT formula - keeps it readable:
="Latest entry: "&TEXT(MAX(B2:B100),"ddd, d mmm yyyy"). - Check the formula points at the right range. If you add rows regularly, convert the data to a table (select it, then Insert > Table, or press Ctrl+T). Referring to the column as Table1[Order Date] makes the formula expand automatically as new rows arrive.
- Test the result by using Data > Sort on the date column (newest to oldest) in a copy of the data, or by pressing End+Down inside the column after sorting. Compare the visible top row with your MAX result. If they match, the formula is behaving.
Common Mistakes
- Dates stored as text. The most frequent cause of a wrong answer is a date column that is actually text; MAX will ignore those cells or return 0. Check alignment and the Number Format box.
- Forgetting the date format. Seeing 46000 in the cell isn't an error - it's a serial number. Apply a Date format.
- Including header rows in the range. A header like "Date" is text and is ignored by MAX, but it makes the range confusing and can break MAXIFS if criteria ranges are misaligned. Keep ranges even.
- MAXIFS criteria that don't match. "North" does not match "north" or "North " with a trailing space. Use TRIM, or criteria such as
"north"only if the data truly matches. - Using MAX on a mixed column of dates and manual notes - the maximum may come from the wrong data type.
- Expecting MAXIFS to work in Excel 2016 or older. Those versions need an array formula:
=MAX(IF(C2:C100="North",B2:B100))entered with Ctrl+Shift+Enter.
Tips
- To find the oldest date in the same range, use MIN or MINIFS.
- If you want Excel to flag the latest date visually, use conditional formatting with a formula such as
=B2=MAX($B$2:$B$100). - Keep dates in one column and one format across the workbook - mixing short dates, long dates and imported text is the source of most max-date problems.
- For a stock-style count of how many entries share the latest date, use
=COUNTIF(B2:B100,MAX(B2:B100)). - Use a named range or an Excel Table so the formula survives inserted rows.
Troubleshooting
If MAX returns 0, your range probably contains text dates or is empty. Select the column, check the Number Format, and convert the text with Data > Text to Columns or by re-entering the values with a real date format. Another quick check: a cell with a real date can be used in arithmetic, so =B2+1 should give the next day rather than a #VALUE! error.
If the result looks like 45996, the formula works - you only need to change the Number Format to Date.
If MAXIFS gives #NAME?, your Excel version doesn't support it. Fall back to the IF array formula on older versions, entered with Ctrl+Shift+Enter.
If MAXIFS gives #VALUE! or a wrong answer, check that every criteria range is exactly the same size as the max range, and that criteria values have no stray spaces. Verify the criteria column is really the one you meant.
If the value doesn't update when data changes, press F9 to recalculate, and check File > Options > Formulas that the workbook is set to Automatic calculation rather than Manual. In Excel for the web recalculation is automatic.
If XLOOKUP returns #N/A, there is no exact match for the max date - usually because the date column contains text values or the range sizes differ. Confirm the ranges are equal and that both are real dates.
Frequently Asked Questions
Can I use MAX on dates without a helper column?
Yes. Excel stores dates as serial numbers, so MAX works directly on a date range without any conversion.
Why does MAX ignore some of my dates?
Those cells are almost certainly text. MAX skips text values, so they are excluded from the calculation.
How do I get the latest date for each region?
Use MAXIFS with the region column as the criteria range, and copy the formula down the list of regions.
What is the difference between MAX and MAXIFS?
MAX returns the largest value in a range; MAXIFS returns the largest value among rows that meet one or more conditions.
Does the maximum date change automatically?
Yes, as long as the formula range includes the new rows, or you use an Excel Table reference.
Can I find the latest date across several columns?
Yes, combine them in one range or use =MAX(B2:C100), provided all columns hold real dates.