Function Problems

Calculate Monthly Minimum Values in Excel Without MINIFS

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 868 views

Question details

Find the minimum value for a selected month and year in a worksheet containing daily dates and values.

Calculate Monthly Minimum Values in Excel Without MINIFS
Product
Microsoft Excel
Device & OS
not provided
Scenario
Dates are listed in column A, values are in column B, and the user wants to select a month and year to calculate the monthly minimum.
Observed behavior
The desired result is the smallest value associated with a date in the selected month and year.
Before you start

Check that column A contains actual spreadsheet dates and column B contains numeric values. Enter the month as a number from 1 to 12 in E2 and the four-digit year in E3.

Solution 1Recommended

Use AGGREGATE to Find the Monthly Minimum

Use this formula when you want to filter dates by month and year without using MINIFS.

AGGREGATE ignores the division errors produced for rows outside the selected month and returns the smallest remaining value.

1
Enter the selection

Type the month number in E2 and the year in E3.

2
Enter the formula

Select an empty cell and enter =AGGREGATE(15,6,B2:B1000/((MONTH(A2:A1000)=E2)*(YEAR(A2:A1000)=E3)),1).

3
Adjust the ranges

Change A2:A1000 and B2:B1000 in the formula to match your data, keeping the ranges the same size and aligned by row.

Use AGGREGATE to Find the Monthly Minimum
Check empty values and missing matches: A blank value cell in a matching row can be treated as zero. If no numeric values match, AGGREGATE returns an error; check the selected month, year, and source data.
Calculate monthly minimums

Find a Monthly Minimum in WPS Spreadsheets

Use a MINIFS formula with date boundaries in WPS Spreadsheets to find the smallest value for a selected month and year.

  1. 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Set the month and year: Enter a month number in E2 and a four-digit year in E3.
  3. 3. Calculate the minimum: In an empty cell, enter =MINIFS(B2:B1000,A2:A1000,">="&DATE(E3,E2,1),A2:A1000,"<"&DATE(E3,E2+1,1)), adjusting the ranges to match your data.
  4. 4. Check the result: Compare the result with the matching rows in columns A and B, especially if the formula returns zero.
Calculate a monthly minimum from daily date-based dataOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and cells
microsoft office alternative - wps office

Frequently Asked Questions

Why does the AGGREGATE formula return an error?

There may be no numeric values for the selected month and year. Check E2 and E3, confirm column A contains real dates, and verify that the ranges cover your data.

Why is my monthly minimum zero when the values appear to be positive?

With the AGGREGATE formula, a blank value cell on a matching date can be treated as zero. Check column B for blanks in the selected month. MINIFS can also return zero when no cells meet its criteria.

Can the formulas handle dates that include times?

Yes. MONTH and YEAR read the date portion in the AGGREGATE formula. The MINIFS formula uses a start-inclusive and end-exclusive date range, so it also includes times within the selected month.

How do I use a different date or value column?

Replace A2:A1000 with your date range and B2:B1000 with your value range in the formula. Both ranges must have the same number of rows and correspond to each other.