How to Find Max Date in Range with Criteria in Excel

Get FREE Advanced Excel Exercises with Solutions!

In this tutorial, I am going to share with you 3 quick tricks to find the max date in a range with criteria in Excel. You can easily apply these examples in any set of data to perform various tasks by extracting the delivery deadlines. To achieve this task, we will also see some useful features. These will come in handy in many other Excel-related tasks.


Download Practice Workbook

You can download the practice workbook from here.


3 Quick Tricks to Find Max Date in Range with Criteria in Excel

We have taken a concise initial dataset to explain the steps clearly. The dataset has approximately 9 rows and 3 columns. Initially, we are keeping all the cells in General format and the date values in Date format. For all the datasets, we have 3 unique columns which are Order Type, Order ID, and Delivery Date. However, we may vary the number of columns later if that is needed.

Dataset Overview to Find the Max Date in a Range with Criteria in Excel


1. Using Excel MAXIFS Function to Find Max Date in Range with Criteria

The MAXIFS function in Excel is a powerful tool that allows you to find the maximum value in a range of cells that meet certain criteria. This function is particularly useful when you need to find the max date value in a range with specific criteria. In this first method, we will learn how to use the MAXIFS function to find the maximum date in a range that meets a certain criterion. For example, we can get a particular date or a specific text value. By following these steps, you can easily find the maximum date in a range. Then you can use this information to analyze and organize your data.

Steps:

  • First, go to cell D12 and insert the following formula:
=MAXIFS(D5:D11,B5:B11,B5)
  • Finally, press the Enter key and this should give you the maximum date of purchase order delivery.

Using MAXIFS Function to Find the Max Date in a Range with Criteria in Excel

Read More: How to SUMIF between Two Dates and with Another Criteria (7 Ways)


Similar Readings


2. Combining MAX and IF Functions

To find the highest value in a set of cells that satisfy specific requirements, we can couple Excel’s MAX and IF functions. The maximum date in a range that satisfies a particular requirement, such as a particular date or a particular text value, can be found using this method. In this method, we’ll show you how to combine the MAX and IF functions to find the max date in a range of dates that meet certain criteria. You may quickly get the maximum date range by using the techniques listed here. You can then use this knowledge to organize and analyze your data.

Steps:

  • To begin with, navigate to cell D12 and type in the formula below:
=MAX(IF(B5:B11=B5,D5:D11))
  • Then press Enter to confirm the formula.
  • Consequently, this should filter out the last date of delivery for the purchase orders.

Combining MAX and IF Functions to Find the Max Date in a Range with Criteria in Excel

Read More: How to Use IF Formula for Date Range in Excel (6 Methods)


3. Joining MAX and FILTER Functions

In Excel, the MAX and FILTER functions are two potent methods that can be combined to identify the highest value in a set of cells that satisfy particular requirements. While the FILTER function enables you to set criteria to filter a range of cells and return just the cells that fulfill those criteria, the MAX function returns the highest value in a range of cells. Combining these functions makes it simple to locate the highest value in a group of cells that satisfies a given set of requirements, such as a particular date or a particular text value. This method will teach you how to combine the MAX and FILTER functions to find the max date value in a range that meets certain criteria.

Steps:

  • Firstly, select cell D12 and enter this formula:
=MAX(FILTER(D5:D11,B5:B11=B5))
  • Finally, press Enter to get the maximum date value from the range of input dates.

Combining MAX and FILTER Functions

Read More: How to Filter Date Range in Pivot Table with Excel VBA


Conclusion

I hope that you were able to apply the methods that I showed in this tutorial on how to find the max date in a range with criteria in Excel. As you can see, there are quite a few ways to achieve this task. So wisely choose the method that suits your situation best. If you get stuck in any of the steps, I recommend going through them a few times to clear up any confusion. Lastly, to learn more Excel techniques, follow our ExcelDemy website. If you have any queries, please let me know in the comments.


Related Articles

Nazmul Hossain Shovon
Nazmul Hossain Shovon

Hello, I am Nazmul Hossain. I am currently working full-time in Exceldemy as an Excel & VBA Content Developer. I have completed my bachelors in Naval Architecture and Marine Engineering from Bangladesh University of Engineering and Technology. I am interested in working with MS Excel. I also like coding web applications a lot.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo