Created
January 16, 2023 03:12
-
-
Save emmaly/023e5e21e722eed386fb3ee9980eae16 to your computer and use it in GitHub Desktop.
Google Sheets Named Functions: DATEMAX and DATEMIN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= | |
ARRAY_CONSTRAIN( | |
SORT( | |
FILTER( | |
range, | |
MAP( | |
range, | |
LAMBDA( | |
cell, | |
ISDATE(cell) | |
) | |
) | |
), | |
1, FALSE | |
), | |
1, 1 | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= | |
ARRAY_CONSTRAIN( | |
SORT( | |
FILTER( | |
range, | |
MAP( | |
range, | |
LAMBDA( | |
cell, | |
ISDATE(cell) | |
) | |
) | |
), | |
1, TRUE | |
), | |
1, 1 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment