How to Find Max Date in Range with Criteria in Excel

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.


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

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: VLOOKUP Date Range and Return Value in Excel


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


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


Download Practice Workbook

You can download the practice workbook from here.


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. If you have any queries, please let me know in the comments.


Related Articles


<< Go Back to Date Range | Date-Time in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nazmul Hossain Shovon
Nazmul Hossain Shovon

Nazmul Hossain Shovon, a BUET graduate in Naval Architecture and Marine Engineering, embarked on his career with 8 months dedicated to the Exceldemy project's triumph. Transitioning into a Software Developer role, he specialized in web add-in development. At Exceldemy, he authored about 125 blog articles and solved many visitors’ problems, refining his writing skills and delving into Excel-related topics. With a primary passion for programming and software development, Shovon continually explores new horizons, fostering professional growth in his... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo