Share via

NESTED MINIFS

Anonymous
2018-03-05T05:09:53+00:00

Can a MONTH() or YEAR() function be nested into a MINFS function? I am trying to get the min and max for a given month. The data is daily data with the date as the column header. For the monthly summary, the Month/Year is the column header. Thanks.

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

Vijay A. Verma 104.9K Reputation points Volunteer Moderator
2018-03-05T05:38:39+00:00

All IF functions like COUNTIF, SUMIF, AVERAGEIF, MINIF, MAXIF are not friendly with formulas inside them,

To do this, you will have to use AGGREGATE function (Assuming E2 has month, E3 has year, Column A has dates and column B has values)

=AGGREGATE(15,6,B2:B1000/((MONTH(A2:A1000)=E2)*(YEAR(A2:A1000)=E3)),1)

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful