Skip to content

Formulas to Find Maximum Value with Multiple Criteria in Excel!

Ads
Listen to this post

The maximum value is the largest number of a set of values. Sometimes, we want to get the largest value from the list, it can be a score or price, etc. For that, you can use a simple formula in Excel. In this tutorial, we will see how to get the maximum value from a set of data based on multiple criteria in Excel. Get an official version of MS Excel from the following link: 

https://www.microsoft.com/en-in/microsoft-365/excel

Find largest number in a groupPin
Find the largest number in a group

General Formula

Here we come up with a simple formula to find the maximum value in a range with multiple criteria in the worksheet.

=MAX(IF(range1=criteria1,IF(range2=criteria2,values)))

Syntax Explanations

  • MAX – The MAX Function helps to return the largest numeric value from the range of input values.
  • IF – This function will return one value for a TRUE result, and another for a FALSE result. Read more on the IF Function.
  • Values – It represents the input values from the given worksheets.
  • Comma symbol (,) – It is a separator that helps to separate a list of values.
  • Parenthesis () – The main purpose of this symbol is to group the elements.
  • Criteria – It is the specific month that wants to find the maximum value.
  • Range – It represents the input ranges.

How to Apply Formula to Get Maximum Value?

In order to extract the maximum value from the range of input values from Excel, we can use an Excel formula. This formula can make use of the IF function and MAX Function of Excel. As we said earlier, the IF function returns the result based on the given condition. Whereas, the MAX function returns the largest value in the selected array.

For instance, we have given a list of items that are sold in the specific three months for the last three years in a stationery shop. We need to find the specific item that sold for the highest price from the list. For that, we can apply a formula to find out the result.

Product detailsPin
Product details

Use the below-mentioned formula in any cell where you want to get the output result.

=MAX(IF(B3:B11=G2,IF(C3:C11=G4,D3:D11)))

Enter the formulaPin
Enter the formula

Once you have entered the formula, click on the Enter button to execute it and get the result. You will get the maximum price value for the specific item.

OutputPin
Output

If the above-given scenario is not enough to understand this formula and want to learn this with a simple example, kindly move to the following section.

Alternate Example

Here we come up with a simple example to know how to apply this Excel formula in the spreadsheet.

  • In the below screenshot, we have given the student’s mark details. We want to get the highest score of a particular student in a specific subject. We need to consider all the tests that are conducted in the last six months.
Student scoresPin
Student scores
  • Apply the below-given formula to get the result on your spreadsheet.

=MAX(IF(C3:C11=H2,IF(D3:D11=H3,E3:E11)))

Type the formulaPin
Type the formula
  • You have to press the Enter button to get the result.
ResultPin
Result

Conclusion

From this guide, you can easily learn the simple formulas used for finding the maximum value based on multiple criteria in Excel. Hope you like this article. Don’t forget to share your worthwhile feedback. For more updates keep in touch with our website AawExcel and Excel Formulas!

Video Tutorial

The below-given video will show how to apply an Excel formula to find the maximum value based on multiple criteria.

Read More:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...