How to use MAXIFS function in Excel 2016

What is MAXIFS function?

MAXIFS function in Excel is a statistical function that returns the largest value based on one or more conditions from the specified cells. MAXIFS function was introduced in MS Excel 2016.

Recipe

 = MAXIFS (max_range, criteria_range1, criteria1, [criteria_range2, criteria2], .) 

Argument:

1. Max_range (required argument) - The actual range of cells to which the maximum value will be determined.

2. Criteria_range (required argument) - The set of cells evaluated according to the criteria.

3. Criteria1 (mandatory argument) can be a numeric value, an expression or text that determines which cell will be rated as max.

4. Criteria_range2 - Optional argument in which an additional scope and their related criteria can be specified.

You can use up to 126 criteria.

How to use MAXIFS function in Excel

This is a built-in function that is used as a worksheet function in Excel. Consider some of the following examples:

Example 1:

Suppose below is a table of quarterly revenue data for the three business areas. We will find the maximum revenue of the Northern region with the following formula:

 = MAXIFS ($ D $ 5: $ D $ 33, B $ 5: B $ 33, "North") 

How to use MAXIFS function in Excel 2016 Picture 1

In the above example, the MAXIFS function determines the rows with values ​​in column B equal to North and returns the largest value from the corresponding values ​​in column D.

How to use MAXIFS function in Excel 2016 Picture 2

Example 2:

In this example, we will find the area with the highest print and stationery sales with the following formula:

 = MAXIFS ($ D $ 5: $ D $ 33, C $ 5: C $ 33, "Printing & Stationary") 

How to use MAXIFS function in Excel 2016 Picture 3

The formula will return the highest amount of printing and stationery sales.

Example 3:

In this example, we will find the highest score for students earning Distinction scores for all subjects.

How to use MAXIFS function in Excel 2016 Picture 4

The formula will be:

 = MAXIFS (B6: B16, C6: C16, "A", E6: E16, "= Distinction") 

How to use MAXIFS function in Excel 2016 Picture 5

In criteria_range1, C10, C11 and C16 match the criterion 'A' of the corresponding cells in criteria_range2; E10, E11 and E16 satisfy Distinction criteria. Finally, the corresponding cells in max_range, B11 give the largest value. The result is 50.

How to use MAXIFS function in Excel 2016 Picture 6

Example 4:

With the data table below, we will use MAXIFS with the array function to return the latest date to open the task for each project in column E.

How to use MAXIFS function in Excel 2016 Picture 7

The formula is used as below:

How to use MAXIFS function in Excel 2016 Picture 8

For parentheses, we need to press Ctrl + Shift + Enter the first time because it only works as an array function. After that, we can drag it over the range to use.

How to use MAXIFS function in Excel 2016 Picture 9

Therefore, for the above data, we will see March 1, 2017 in Column F on all rows for Project A; 01/05/2017 for all rows of Project B; and 01/01/2017 for all rows of Project C.

Things to note about MAXIFS function

1. Error #VALUE! is returned when the size and shape of the max_range and criteria_rangeN arguments are not the same.

2. If you use an earlier version of Excel, you can use array functions based on MAX and IF to find the minimum value that meets the criteria.

3. #NAME? Error? occurs when using an older version of Excel (before Excel 2016).

4. MAXIFS will include hidden goods.

I wish you all success!

See more:

  1. How to use the SWITCH function in Excel 2016
  2. How to use the IFS function in Excel 2016
  3. How to use the TEXTJOIN function in Excel 2016
4.3 ★ | 6 Vote

May be interested

  • How to use Excel's VALUE functionHow to use Excel's VALUE function
    excel's value function will convert a string to a digital form, which can be combined with other functions such as left function, right function, mid function.
  • How to use the WRAPROWS function in ExcelHow to use the WRAPROWS function in Excel
    having trouble with handling large data sets in excel? then learn how to use the wraprows function to split them into more manageable rows.
  • How to use the IFS function in Excel 2016How to use the IFS function in Excel 2016
    the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
  • How to use the NPER function in Excel to plan loans and savingsHow to use the NPER function in Excel to plan loans and savings
    do you want to effectively manage and control your personal finances? then we invite you to learn how to use excel's nper function.
  • How to use the function to delete spaces in ExcelHow to use the function to delete spaces in Excel
    deleting white space with functions in excel makes it easier for users to handle content, instead of traditional editing.
  • How to fix the SUM function doesn't add up in ExcelHow to fix the SUM function doesn't add up in Excel
    in the process of summing with sum in excel, you will encounter some errors such as not jumping the number, not adding the sum. so how to handle this problem?
  • How to use the SUBTOTAL function in ExcelHow to use the SUBTOTAL function in Excel
    the subtotal function in excel is used in many different cases, helping you to sum subtotals in a list or database, unlike the sum function in excel such as counting cells, calculating average, finding the largest / smallest value. or sum the filtered list values ​​in excel
  • Save time with these text formatting functions in Microsoft ExcelSave time with these text formatting functions in Microsoft Excel
    microsoft excel is a main application for anyone who has to work with numbers, from students to accountants. but its usefulness extends beyond a large database, it can do a lot of great things with text. the functions listed below will help you analyze, edit, convert, change text and save many hours of boring and repetitive tasks.
  • SUMPRODUCT function in Excel: Calculates the sum of corresponding valuesSUMPRODUCT function in Excel: Calculates the sum of corresponding values
    the sumproduct function is an extremely useful function when you have to deal with a lot of data numbers in microsoft excel. here are the things you need to know about the sumproduct function in excel.
  • How to use the SUMIF function in ExcelHow to use the SUMIF function in Excel
    the sumif function in excel is a function used to compute values ​​in a specified range. the sumif function can be used for summing cells based on the date, data and text that are connected to the specified area.