Share via

Excel 2013

Anonymous
2016-05-17T20:45:53+00:00

Is there a MAX and MIN function that works like AVERAGEIF?  Looking to find the max and min values in a database based on specific criteria.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-05-17T21:51:21+00:00

Hello,

not in Excel 2013 and earlier. The Office 365 edition of Excel 2016 has new functions MAXIFS and MINIFS, which also work in Excel online, but for Excel 2013 on the desktop you will need to use an array function that nests an IF into the MAX function.

Consider the following screenshot:

The formula in E2 is =MAX(IF($A$2:$A$13=D2,$B$2:$B$13)) and in F2 is =MIN(IF($A$2:$A$13=D2,$B$2:$B$13))

These are array formulas and must be confirmed with Ctrl-Shift-Enter. Excel will then put the curly braces in. You don't type these.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2016-05-17T21:47:18+00:00

Hi Travis62,

Is there a MAX and MIN function that works like AVERAGEIF?  Looking to find the max and min values in a database based on specific criteria.

Try formulas of the type::

      =MAX(IF(A1:A1000="Jan",B1:B1000))   

      =MIN(IF(A1:A1000="Jan",B1:B1000))   

Theses are array formulas and should be confirmed with CTRL+Shift+Enter rather than Enter.

===

Regards,

Norman

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2016-05-17T21:50:38+00:00

    hit reply on wrong comment

    Was this answer helpful?

    0 comments No comments