Maximum and Minimum Date within a specific year.

JohnZ1156

Board Regular
Joined
Apr 10, 2021
Messages
160
Office Version
  1. 2021
Platform
  1. Windows
I have a column (range) of dates. I would like a formula to tell me the minimum date within a year and the maximum date within a year.

Example:
Example.jpg
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
MrExcelPlayground19.xlsx
ABCD
110/28/2023
211/22/2023Year2024
312/17/2023
41/11/2024Min1/11/2024
52/5/2024
612/26/2024Max12/26/2024
71/20/2025
82/14/2025
93/11/2025
Sheet15
Cell Formulas
RangeFormula
D4D4=MIN(FILTER(A1:A9,YEAR(A1:A9)=D2))
D6D6=MAX(FILTER(A1:A9,YEAR(A1:A9)=D2))
 
Upvote 0
Hi JamesCanale,

I see how your formula works. Thank you
But now, I would like it to return the value of the "nth" cell to the right.

For example:
Min 1/11/2024 1,234.00
 
Upvote 0
Not sure I get you:

MrExcelPlayground19.xlsx
ABCDE
1DateThing 1Thing 2Thing N
210/28/2023235735984372
311/22/2023592814525796
412/17/2023573210882132
51/11/2024828899876872
62/5/2024858458569703
712/26/2024101846141607
81/20/2025909105561576
92/14/2025822217629402
103/11/2025882640636422
11
12
13
14Year2024
15Thing Column4
16
17Min1/11/2024872
18
19Max12/26/2024607
Sheet15
Cell Formulas
RangeFormula
D17D17=MIN(FILTER(A2:A10,YEAR(A2:A10)=D14))
E17E17=VLOOKUP(D17,A2:E10,D15+1,FALSE)
D19D19=MAX(FILTER(A2:A10,YEAR(A2:A10)=D14))
E19E19=VLOOKUP(D19,A2:E10,D15+1,FALSE)
 
Upvote 0
Solution
Thank you, Sorry I wasn't completely clear from the beginning.
I thought, once I got the first answer, I would be able to figure out the rest.
I was wrong.

Thanks again.
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,690
Members
449,179
Latest member
kfhw720

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top