How can I use the MAXIFS function in Google Sheets?

How can I use the MAXIFS function in Google Sheets?

The MAXIFS function in Google Sheets is a useful tool for finding the maximum value in a range of cells based on specific criteria. This function allows users to specify one or more conditions that must be met for the maximum value to be returned. By using the MAXIFS function, users can easily and efficiently analyze large sets of data and find the highest value that meets their desired criteria. This function can be accessed through the “Functions” menu in Google Sheets and is a powerful tool for data analysis and decision making.

MAXIFS

Returns the maximum value in a range of cells, filtered by a set of criteria.

MAXIFS for BigQuery

Returns the maximum value in a filtered data column, filtered by a set of criteria applied to additional data columns.

Sample Usage

MAXIFS(table_name!price, table_name!fruits,”Apple”, table_name!inventory, “<30”)

Syntax

MAXIFS(column, criteria_column1, criterion1, criteria_column2, criterion2)

  • column: The data column from which the maximum will be determined.
  • criteria_column1: The data column over which to evaluate `criterion1`.
  • criterion1: The pattern or test to apply to `criteria_column1`, such that each cell that evaluates to `TRUE` will be included in the filtered set.
  • creteria_column2: Additional data columns over which to evaluate the additional criteria. The filtered set will be the intersection of the sets produced by each criterion-column pair.
  • criterion2: The pattern or test to apply to `criteria_column2`.

Sample Usage

MAXIFS(A1:A3, B1:B3, 1, C1:C3, “A”)

MAXIFS(D4:E5, F4:G5, “>5”, F6:G7, “<10”)

Syntax

MAXIFS(range, criteria_range1, criterion1, [criteria_range2, criterion2, …])

  • range – The range of cells from which the maximum will be determined.

  • criteria_range1 – The range of cells over which to evaluate criterion1.

  • criterion1 – The pattern or test to apply to criteria_range1.

  • criteria_range2, criterion2, … Optional: Additional ranges and their associated criteria. Note that filtering will result in the intersection of these.

Notes

  • MAXIFS will return 0 if none of the criterion are satisfied.
  • range and all of the criterion ranges must be the same size. If they aren’t, MAXIFS will return a #VALUE error.

See Also

MINIFS:

Returns the minimum value in a range of cells, filtered by a set of criteria.

 

SUMIFS: Returns the sum of a range depending on multiple criteria.

IFS:

Evaluates multiple conditions and returns a value that corresponds to the first true condition.

 

Example

 ABC
1IDScoreSection
212330B
310228A
415729A
518919B
6   
7SolutionFormula
8157= MAXIFS(A2:A5, B2:B5, “>25”, C2:C5, “A”)
9123= MAXIFS(A2:A5, B2:B5, “>25”, C2:C5, “B”)
10189= MAXIFS(A2:A5, B2:B5, “<35”, C2:C5, “B”)
110= MAXIFS(A2:A5, B2:B5, “>35”, C2:C5, “B”)

 

Cite this article

stats writer (2024). How can I use the MAXIFS function in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-maxifs-function-in-google-sheets/

stats writer. "How can I use the MAXIFS function in Google Sheets?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-maxifs-function-in-google-sheets/.

stats writer. "How can I use the MAXIFS function in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-maxifs-function-in-google-sheets/.

stats writer (2024) 'How can I use the MAXIFS function in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-maxifs-function-in-google-sheets/.

[1] stats writer, "How can I use the MAXIFS function in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I use the MAXIFS function in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top