Hi James!

That’s a fun question. Airtable’s formulas are a little different than Excel, but you can acheive the same results. Here’s how I went about it:

- find the first day of the month by finding the year and month, adding “01” for the day, and parsing them together:

`DATETIME_PARSE(DATETIME_FORMAT(Date,'YYYY') & DATETIME_FORMAT(Date,'MM') & '01','YYYYMMDD')`

- Find the last day of the month by adding one month to the first day of the month and then subtracting one day:

`DATEADD(DATEADD({First Day of Month},1,'month'),-1,'day')`

- Find the number of days in the month by finding what number day the last day is:

`DATETIME_FORMAT({Last Day of Month},'D')`

- Find the days left by finding the number of the current day and subtracting it from the number of days in the month:

` {Days In Month} - DATETIME_FORMAT(Date,'D')`

Here’s the base where I made these formulas: https://airtable.com/invite/l?inviteId=invAGgFDa1m3xz4Ix&inviteToken=1941c133a29e2c9439cc26d23ed92df97fe2548c5384157fce529a914613e88f

And a very useful overview of date formatting in Airtable: https://support.airtable.com/hc/en-us/articles/216141218-Supported-format-specifiers-for-DATETIME-FORMAT