Excel maxifs
Author: c | 2025-04-24
Your title says MAXIFS, but actually the formula you've posted is not a MAXIFS. You posted a MAX and an IF, but not a MAXIFS. Excel - Use of MAXIFS (in excel 2025) 0. Getting cell address of MAXIF result accurately. 1. Multiple Excel - Use of MAXIFS (in excel 2025) 1. Using YEAR function in MAXIFS criteria in excel. 0. Maxifs and Sumifs to newest date. 0. MAXIFS to return most recent row given date is less than condition. 0. MAXIFS without fixed criteria. 0. Google Sheet - Dealing with unusual date format with MAXIFS function.
Alternative to =MAXIFS() for excel 2025?
This tutorial demonstrates how to use the Excel MAXIFS and MINIFS Functions in Excel to count data that meet certain criteria.MAXIFS Function OverviewYou can use the MAXIFS function in Excel to count cells that contain a specific value, count cells that are greater than or equal to a value, etc.(Notice how the formula inputs appear)MAXIFS Function Syntax and Arguments:=MAXIFS(max_range, range1, criteria1, [range2], [criteria2], ...)max_range – Range of values used to determine maximum.range1 – The first range to evaluate.criteria1 – The criteria to use on range1.range2 – [optional] The second range to evaluate.range2 – [optional] The second range to evaluate.What are the MAXIFS and MINIFS functions?While Microsoft was able to give us early on a way to find the sum or count of a range of cells based on criteria, the MAXIFS and MINIFS came later in the life of spreadsheets. Thankfully, we have them now and they have very similar structure and use. Simply put, the two functions can scan through a range of cells checking for a specific criterion, and then giving the max or of the values in a range that correspond to those values. Because they were created after the big 2007 update, there is no older “MAXIF/MINIF” to worry about.If you haven’t already, you can review much of the similar structure and examples in the COUNTIFS article .Basic exampleLet’s consider this table:If we want to find what was the maximum number of bananas picked, we can use the MAXIFS function. We’ll always give the range of numbers we want to return the result from as the first argument. Then, we’ll list the criteria ranges and their corresponding criteria. In our example, we can place this formula in D2:=MAXIFS(B2:B7, A2:A7, D1)Similarly, if we wanted to find the smallest/minimum number of bananas picked, we can simply switch the In this tutorial, we are going to learn about the very new MINIFS and MAXIFS formulas in Microsoft Excel. A lot of people are unaware of these formulas as it is only available for users using Excel 2016 or higher. Lastly, we will learn about the AVERAGEIF formula available in all versions of Excel.Assuming that you do not live on a rock, you might as well be using the latest version of Excel and have these formulas built-in.What are the MAXIFS and MINIFS formulas?These brand-new formulas work very similarly to the SUMIFS and COUNTIFS formula in Excel. They help you find the minimum or the maximum values from a range given set of conditions or criteria. For example, you can find out the minimum or the maximum number of items purchased by a specific customer in a month, or the minimum or maximum revenue generated from a specific customer.Let’s understand this with a concrete example.Steps to use the MINIFS formulaHere is a small list of customers of a company and the total revenue earned by them. Our goal is to find out the minimum revenue earned by Denver.Here’s how to use the MINIFS formula.Click on a blank cell in the worksheet.Type MINIFS(The first argument is min_range. So, select the range with the revenue values excluding the header.Put a comma and select the range with names without headers.Put a comma again and click on the customer name for which you are finding the minimum revenue earned. Here, Denver.Close the brackets and hit ENTER.Check your answer. You can see that we have found out the minimum revenue earned by Denver was 920. Similarly, you can find out the recent revenue earned by a specific customer that involves setting the date as the criterion.Steps to use the MAXIFS formulaHere is an example of a list of sold items on random dates. Our goal is to find out the recent date on which Mousepads were sold. We can achieve this using the MAXIFS formula.Here’s how to use the MAXIFS formula.Click on a blank cell in the worksheet.Type MAXIFS(The first argument is max_range. So, select the range with the dates excluding the header.Put a comma and select the range with names without headers.Put a comma again and click on the item name for which you are finding the recent sold date. Here, Mousepads.Close the brackets and hit ENTER.You can see that the date 30th Septemberวิธีใช้ฟังก์ชัน Excel MAXIFS - ExtendOffice
This tutorial will demonstrate how to find the largest value which meets specific conditions in Excel and Google Sheets.MAXIFS FunctionUsers of Google Sheets and Excel 2019 or later can use the single MAXIFS Function .This example uses the MAXIFS and DATE Functions to show the largest Order Size for each Store Name for Order Dates before 4/30/2021:=MAXIFS(D3:D8,B3:B8,"A",C3:C8,"The MAXIFS Function does not require the user to press CTRL + SHIFT + ENTER when entering the formula.Max If Array FunctionIf you don’t have access to the MAXIFS Function, you can create an Array Formula to simulate the MAXIFS Function. We will walk through this below.The MAX Function identifies the largest value in a series of numbers.=MAX(B2:B11)We can use the MAX Function combined with an IF Function to identify the largest value that meets a specified condition.This example will use the MAX and IF Functions in an array formula to identify the largest Order Size for each Store Name{=MAX(IF(B3:B8="A",D3:D8))}In Office 365 and versions of Excel after 2019, you can simply enter the above formula like you normally would (by pressing ENTER).However, for Excel 2019 and earlier you must enter the formula by pressing CTRL + SHIFT + ENTER. After doing so, you’ll notice curly array brackets appear around the formula.To show how this formula works, let’s break it down into steps.This is our final formula (shown without the automatically added array formula brackets):=MAX(IF(B3:B8="A",D3:D8))First, the cell range values are added to the formula as arrays:=MAX(IF({"A"; "B"; "A"; "B"; "A"; "B"}="A",{500; 400; 300; 700; 600; 200}))Next the Store Name =”A” condition produces an array of TRUE/FALSE values:=MAX(IF({TRUE; FALSE; TRUE; FALSE; TRUE; FALSE},{500; 400; 300; 700; 600; 200}))Then the IF Function changes all TRUE values into the relevant Order Size:=MAX({500; FALSE; 300; FALSE; 600; FALSE})The MAX Function identifies the largest number in the array, whilst ignoring any FALSE values, to show the largest Order Size for the Store Name = “A”:=600Max If – Multiple CriteriaWe can also identify the largest value based on multiple criteria by using Boolean logic.This example will show the largest Order Size for each Store Name, but for Order Dates before 4/30/2021. Your title says MAXIFS, but actually the formula you've posted is not a MAXIFS. You posted a MAX and an IF, but not a MAXIFS. Excel - Use of MAXIFS (in excel 2025) 0. Getting cell address of MAXIF result accurately. 1. MultipleMAXIFS Formula in Excel - MyExcelOnline
Second argumentSpecifies the color in the third argumentReferences the cells containing numbers as the fourth argumentSpecifies the second criterion in the fifth argumentThe MINIFS FunctionThe MINIFS function works just like the MAXIFS function but with one major difference.Instead of returning the largest value among the values that meet the criteria, it returns the smallest value.For instance, if you replace the MAXIFS function in the previous example with the MINIFS function, then you get the number 1 instead of 3.The only values that correspond with Blue are 1, 3, and 5.The only values less than 5 are 1, 2, 3, and 4.The only values that meet both criteria are 1 and 3. Therefore, the MINIFS function will only look at these values and return a value of 1.How to Use the MINIFS FunctionThe MINIFS function works just like the MAXIFS function and requires three arguments but can accept up to 126 range/criteria argument pairs.If you understand how to use the MAXIFS function, then you’ve got the MINIFS function down too. Just don’t forget that it returns the smallest value instead of the greatest value.And that’s how you can find the maximum and minimum among a set of values that meet a set of criteria.It’s also important to note that both functions are available in Google Sheets and Excel versions 2019 or later. 2019 is given in the field now. This shows that Mousepads were recently sold on 30th September.What is AVERAGIF?The AVERAGEIF function gives the average of a numerical data range that meets the given criteria. In simple words, Excel will only average a range if it meets certain conditions given by you.Let us comprehend it with an example.Steps to use the AVERAGEIF formulaHere’s an example of a few types of houses with the prices, number of bedrooms, the towns, and if they have a garage. Let’s find the average price of a home in Bellevue that has at least 3 bedrooms and a garageClick on a blank cell in the worksheet.Type AVERAGEIF(Select the price column from top to bottom. Then select the criteria range which is the names of the towns. Next, add a comma and either select the cell with the name of the town or enter the name in quotes as I’ve done above. Now, we’ll select the next criteria range as our number of bedrooms column and use the “>2” criteria to filter out houses with 3+ bedrooms.And finally, we want to get the average price of only those houses with a garage. So we’ll add a third criteria range of the Garage? column and add the criteria as “Yes”Hit enter and you should see the below average if you have used the same data as me.That’s awesome! You have now learned how to filter through data and pull out the averages selectively with the help of the AVERAGEIFS formula. ConclusionIn this tutorial, we learned about the very new MINIFS and MAXIFS formulas in Microsoft Excel. Follow the steps to use the MINIFS, MAXIFS, and AVERAGIF formulas and become an Excel Pro! Stay tuned for more great tutorials like this at QuickExcel.Reference- Professor Excel.Excel MAXIFS Function - BetterSolutions.com
Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!Table2[MaxQuantity]>=Table1[QTY]AA0872024-11-255,33150045 62145 6625,3319AA090112022-07-30=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!Table2[ValidFrom]AA0872023-11-023,601 001999 999 99945 23245 6903,6020AB371202022-07-30=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!Table2[ValidUpTo]>=Table1[ClosedDate]AA0872023-11-023,601011 00045 23245 6903,6021AA064202023-01-03=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!=Table2[Max version]AA0872023-11-023,62110045 23245 2323,6322AB835102023-01-03=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0872025-01-065,745015 00045663456905,7423AC072162023-07-28=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0872025-01-065,765 001999 99945 66345 6905,7624AO937192024-05-23=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0872025-01-065,81150045 66345 6905,8125AC073182021-12-24=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-033,651999 999 99945233456203,6526AB15092021-10-01=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,631999 999 99945 23245 2323,6327AA096182021-12-21=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,5311045232452323,6328AA08792022-07-12=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,531130045232456903,5729AA09092024-06-07=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,531 001999 999 99945232456903,5330AB37162024-06-07=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,533011 00045232456903,5331AA064192024-06-07=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,601345 23245 2323,6332AB83532022-03-18=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,5711999 999 99945 23245 6903,5733AC07262022-03-18=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902023-11-023,5741045 23245 6903,5734AO93722022-03-18=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902024-11-255,311019 99945 62145 6905,3135AC073132022-03-18=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902024-11-255,801610045 62145 6905,8036AB150162022-01-21=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0902024-11-255,1411545 62145 6905,1437AA09692022-10-31=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AB3712024-12-165,391999 999 99945 64245 6905,3938AA08752023-11-02=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-11-034,251999 999 99945 23345 6204,2539AA09052024-08-26=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-152,6711045 06145 2322,6740AB371172021-07-07=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-052,62110045 05145 0602,6241AA064202023-03-31=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-022,6012045 04845 0502,6042AB835162021-07-29=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-052,6110120145051450602,6143AC07242021-07-27=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-152,64112045061456902,6444AO93712023-09-25=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-152,6410120045 06145 6902,6445AC07342022-06-14=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-152,642110045 06145 6902,6446AB15092024-08-23=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-152,96201999 999 99945 06145 6902,9647AA09652023-05-12=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")" data-formula="=IFERROR(LET(m,(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY])*(Table2[ValidFrom]=[@[Close Date]]),MAXIFS(m,m,">0")),"none")">#SPILL!AA0642023-05-022,605110045 04845 6902,6048AA08772022-04-27=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)" data-formula="=IFERROR(LET(m,Table2[LastUpdate]*(Table2[ProductCode]=[@[Product Code]])*(Table2[MinQuantity]=[@QTY]),MINIFS(m,m,">0")),TODAY()+365)">#SPILL!=[@QTY])*(Table2[ValidFrom]=[@[CloseMAXIFS and MINIFS Function in Excel
מחזירה את הערך המקסימלי בטווח של תאים, לאחר סינון לפי קבוצת קריטריונים. MAXIFS ל-BigQuery מחזירה את הערך המקסימלי בעמודת נתונים מסוננת, לאחר סינון לפי קבוצת קריטריונים שהוחלה על עמודות נתונים נוספות. דוגמאות לשימוש MAXIFS(table_name!price, table_name!fruits,”Apple”, table_name!inventory, “ תחביר MAXIFS(column, criteria_column1, criterion1, criteria_column2, criterion2) column: עמודת הנתונים שממנה ייקבע הערך המקסימלי. criteria_column1: עמודת הנתונים שמשמשת להערכה של criterion1. criterion1: הדפוס או הבדיקה שצריך להחיל על criteria_column1, למשל: כל תא שבבדיקה שלו יתקבל הערך TRUE ייכלל בקבוצה המסוננת. creteria_column2: עמודות נתונים נוספות שמשמשות להערכה של הקריטריונים הנוספים. הקבוצה המסוננת תהיה חתך של הקבוצות שהופקו בבדיקה של כל צמד קריטריון-עמודה. criterion2: הדפוס או הבדיקה שצריך להחיל על criteria_column2. דוגמאות לשימושMAXIFS(A1:A3, B1:B3, 1, C1:C3, “A”)MAXIFS(D4:E5, F4:G5, “>5”, F6:G7, “תחבירMAXIFS(range, criteria_range1, criterion1, [criteria_range2, criterion2, …]) range – טווח התאים שממנו ייקבע הערך המקסימלי. criteria_range1 – טווח התאים להערכה של criterion1. criterion1 – הדפוס או הבדיקה שיש להחיל על criteria_range1. criteria_range2, criterion2, … אופציונלי: טווחים נוספים והקריטריונים המשויכים להם. הערה: סינון יגרום לשילוב ביניהם. הערות אם לא נמצאת התאמה לאף אחד מהקריטריונים, הפונקציה MAXIFS תחזיר את הערך 0. הערך range וכל הטווחים האחרים בקריטריון חייבים להיות באותו גודל. אחרת, הפונקציה MAXIFS תחזיר שגיאת #VALUE.ראו בנוסףMINIFS:מחזירה את הערך המינימלי בטווח של תאים, לאחר סינון לפי קבוצת קריטריונים.SUMIFS: מחזירה את הסכום של טווח בהתאם למספר קריטריונים.IFS:בודקת את הנכונות של מספר תנאים, ומחזירה את הערך המתאים לתנאי הראשון שאכן מתקיים (שערכו true).דוגמה A B C 1 מזהה ציון קטע 2 123 30 B 3 102 28 A 4 157 29 A 5 189 19 B 6 7 פתרון נוסחה 8 157 = MAXIFS(A2:A5, B2:B5, ">25", C2:C5, “A”) 9 123 = MAXIFS(A2:A5, B2:B5, ">25", C2:C5, “B”) 10 189 = MAXIFS(A2:A5, B2:B5, " 11 0 = MAXIFS(A2:A5, B2:B5, ">35", C2:C5, “B”). Your title says MAXIFS, but actually the formula you've posted is not a MAXIFS. You posted a MAX and an IF, but not a MAXIFS. Excel - Use of MAXIFS (in excel 2025) 0. Getting cell address of MAXIF result accurately. 1. MultipleMAXIFS and MINIFS in Excel - FormulasHQ
If you are an avid reader of the Spreadsheet Life blog, then you are sure to have seen my post about Four Simple Math Functions.If you missed it, don’t worry! You can always check it out later. Nonetheless, I introduced a few simple math functions, including the MAX and MIN functions.The MAX function finds the greatest value in a dataset, and the MIN function finds the smallest value. That makes these functions pretty useful.But what if you want to find the largest or smallest value based on a condition or several criteria? What do you do then?In this case, you would use the MAXIFS and MINIFS functions instead.The MAXIFS FunctionThe MAXIFS function combines the power of the MAX function with the IF function.The MAX function looks at a set of values and returns the greatest value among them. On the other hand, the MAXIFS function only looks at the values that meet the conditions you specify.The MAXIFS function then returns the largest value from among them.For example, let’s say you have the following dataset.Now let’s say you want to find the largest value, but only from the values that meet the following criteria.Only values that correspond with BlueOnly values that are less than 5The only values that correspond with Blue are 1, 3, and 5.The only values less than 5 are 1, 2, 3, and 4.The only values that meet both criteria are 1 and 3. Therefore, the MAXIFS function will only look at these values and return a value of 3.How to Use the MAXIFS FunctionThe MAXIFS function requires three arguments but can accept up to 126 range/criteria argument pairs.The arguments are as follows.Range (required)Criteria_Range1 (required)Criteria1 (required)Criteria Range2Criteria2Etc.The first argument is the actual range of cells in which the maximum is determined.=MAXIFS(range, criteria_range1, criteria1, criteria_range2, criteria2, etc.)The second argument is the set of cells that tested against the first criterion, and the third argument is that criterion.=MAXIFS(range, criteria_range1, criteria1, criteria_range2, criteria2, etc.)Additional range/criteria pairs work the same way.In the example shown above, the MAXIFS function:References the cells containing numbers as the first argumentReferences the cells containing colors in theComments
This tutorial demonstrates how to use the Excel MAXIFS and MINIFS Functions in Excel to count data that meet certain criteria.MAXIFS Function OverviewYou can use the MAXIFS function in Excel to count cells that contain a specific value, count cells that are greater than or equal to a value, etc.(Notice how the formula inputs appear)MAXIFS Function Syntax and Arguments:=MAXIFS(max_range, range1, criteria1, [range2], [criteria2], ...)max_range – Range of values used to determine maximum.range1 – The first range to evaluate.criteria1 – The criteria to use on range1.range2 – [optional] The second range to evaluate.range2 – [optional] The second range to evaluate.What are the MAXIFS and MINIFS functions?While Microsoft was able to give us early on a way to find the sum or count of a range of cells based on criteria, the MAXIFS and MINIFS came later in the life of spreadsheets. Thankfully, we have them now and they have very similar structure and use. Simply put, the two functions can scan through a range of cells checking for a specific criterion, and then giving the max or of the values in a range that correspond to those values. Because they were created after the big 2007 update, there is no older “MAXIF/MINIF” to worry about.If you haven’t already, you can review much of the similar structure and examples in the COUNTIFS article .Basic exampleLet’s consider this table:If we want to find what was the maximum number of bananas picked, we can use the MAXIFS function. We’ll always give the range of numbers we want to return the result from as the first argument. Then, we’ll list the criteria ranges and their corresponding criteria. In our example, we can place this formula in D2:=MAXIFS(B2:B7, A2:A7, D1)Similarly, if we wanted to find the smallest/minimum number of bananas picked, we can simply switch the
2025-04-22In this tutorial, we are going to learn about the very new MINIFS and MAXIFS formulas in Microsoft Excel. A lot of people are unaware of these formulas as it is only available for users using Excel 2016 or higher. Lastly, we will learn about the AVERAGEIF formula available in all versions of Excel.Assuming that you do not live on a rock, you might as well be using the latest version of Excel and have these formulas built-in.What are the MAXIFS and MINIFS formulas?These brand-new formulas work very similarly to the SUMIFS and COUNTIFS formula in Excel. They help you find the minimum or the maximum values from a range given set of conditions or criteria. For example, you can find out the minimum or the maximum number of items purchased by a specific customer in a month, or the minimum or maximum revenue generated from a specific customer.Let’s understand this with a concrete example.Steps to use the MINIFS formulaHere is a small list of customers of a company and the total revenue earned by them. Our goal is to find out the minimum revenue earned by Denver.Here’s how to use the MINIFS formula.Click on a blank cell in the worksheet.Type MINIFS(The first argument is min_range. So, select the range with the revenue values excluding the header.Put a comma and select the range with names without headers.Put a comma again and click on the customer name for which you are finding the minimum revenue earned. Here, Denver.Close the brackets and hit ENTER.Check your answer. You can see that we have found out the minimum revenue earned by Denver was 920. Similarly, you can find out the recent revenue earned by a specific customer that involves setting the date as the criterion.Steps to use the MAXIFS formulaHere is an example of a list of sold items on random dates. Our goal is to find out the recent date on which Mousepads were sold. We can achieve this using the MAXIFS formula.Here’s how to use the MAXIFS formula.Click on a blank cell in the worksheet.Type MAXIFS(The first argument is max_range. So, select the range with the dates excluding the header.Put a comma and select the range with names without headers.Put a comma again and click on the item name for which you are finding the recent sold date. Here, Mousepads.Close the brackets and hit ENTER.You can see that the date 30th September
2025-03-31This tutorial will demonstrate how to find the largest value which meets specific conditions in Excel and Google Sheets.MAXIFS FunctionUsers of Google Sheets and Excel 2019 or later can use the single MAXIFS Function .This example uses the MAXIFS and DATE Functions to show the largest Order Size for each Store Name for Order Dates before 4/30/2021:=MAXIFS(D3:D8,B3:B8,"A",C3:C8,"The MAXIFS Function does not require the user to press CTRL + SHIFT + ENTER when entering the formula.Max If Array FunctionIf you don’t have access to the MAXIFS Function, you can create an Array Formula to simulate the MAXIFS Function. We will walk through this below.The MAX Function identifies the largest value in a series of numbers.=MAX(B2:B11)We can use the MAX Function combined with an IF Function to identify the largest value that meets a specified condition.This example will use the MAX and IF Functions in an array formula to identify the largest Order Size for each Store Name{=MAX(IF(B3:B8="A",D3:D8))}In Office 365 and versions of Excel after 2019, you can simply enter the above formula like you normally would (by pressing ENTER).However, for Excel 2019 and earlier you must enter the formula by pressing CTRL + SHIFT + ENTER. After doing so, you’ll notice curly array brackets appear around the formula.To show how this formula works, let’s break it down into steps.This is our final formula (shown without the automatically added array formula brackets):=MAX(IF(B3:B8="A",D3:D8))First, the cell range values are added to the formula as arrays:=MAX(IF({"A"; "B"; "A"; "B"; "A"; "B"}="A",{500; 400; 300; 700; 600; 200}))Next the Store Name =”A” condition produces an array of TRUE/FALSE values:=MAX(IF({TRUE; FALSE; TRUE; FALSE; TRUE; FALSE},{500; 400; 300; 700; 600; 200}))Then the IF Function changes all TRUE values into the relevant Order Size:=MAX({500; FALSE; 300; FALSE; 600; FALSE})The MAX Function identifies the largest number in the array, whilst ignoring any FALSE values, to show the largest Order Size for the Store Name = “A”:=600Max If – Multiple CriteriaWe can also identify the largest value based on multiple criteria by using Boolean logic.This example will show the largest Order Size for each Store Name, but for Order Dates before 4/30/2021
2025-04-14Second argumentSpecifies the color in the third argumentReferences the cells containing numbers as the fourth argumentSpecifies the second criterion in the fifth argumentThe MINIFS FunctionThe MINIFS function works just like the MAXIFS function but with one major difference.Instead of returning the largest value among the values that meet the criteria, it returns the smallest value.For instance, if you replace the MAXIFS function in the previous example with the MINIFS function, then you get the number 1 instead of 3.The only values that correspond with Blue are 1, 3, and 5.The only values less than 5 are 1, 2, 3, and 4.The only values that meet both criteria are 1 and 3. Therefore, the MINIFS function will only look at these values and return a value of 1.How to Use the MINIFS FunctionThe MINIFS function works just like the MAXIFS function and requires three arguments but can accept up to 126 range/criteria argument pairs.If you understand how to use the MAXIFS function, then you’ve got the MINIFS function down too. Just don’t forget that it returns the smallest value instead of the greatest value.And that’s how you can find the maximum and minimum among a set of values that meet a set of criteria.It’s also important to note that both functions are available in Google Sheets and Excel versions 2019 or later.
2025-03-252019 is given in the field now. This shows that Mousepads were recently sold on 30th September.What is AVERAGIF?The AVERAGEIF function gives the average of a numerical data range that meets the given criteria. In simple words, Excel will only average a range if it meets certain conditions given by you.Let us comprehend it with an example.Steps to use the AVERAGEIF formulaHere’s an example of a few types of houses with the prices, number of bedrooms, the towns, and if they have a garage. Let’s find the average price of a home in Bellevue that has at least 3 bedrooms and a garageClick on a blank cell in the worksheet.Type AVERAGEIF(Select the price column from top to bottom. Then select the criteria range which is the names of the towns. Next, add a comma and either select the cell with the name of the town or enter the name in quotes as I’ve done above. Now, we’ll select the next criteria range as our number of bedrooms column and use the “>2” criteria to filter out houses with 3+ bedrooms.And finally, we want to get the average price of only those houses with a garage. So we’ll add a third criteria range of the Garage? column and add the criteria as “Yes”Hit enter and you should see the below average if you have used the same data as me.That’s awesome! You have now learned how to filter through data and pull out the averages selectively with the help of the AVERAGEIFS formula. ConclusionIn this tutorial, we learned about the very new MINIFS and MAXIFS formulas in Microsoft Excel. Follow the steps to use the MINIFS, MAXIFS, and AVERAGIF formulas and become an Excel Pro! Stay tuned for more great tutorials like this at QuickExcel.Reference- Professor Excel.
2025-04-13