Created
November 1, 2020 21:59
-
-
Save gubatron/146d5c78e7c98e0680b85bab4a5842a8 to your computer and use it in GitHub Desktop.
Calculate the number of days in a month in Google Sheet.
This file contains 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
If cell `B1` had a date indicating the first of the month as in: `=11/1/2020` | |
To get the number of days of that month you do: | |
`=DAYS(EOMONTH(B1,0),B1)+1` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment