Skip to content
Kuovonne's Guide to Airtable
  • Pages
    • Kuovonne's Guide to Airtable
      • Fields
        • Overview of fields types
          • Editable Field Types
          • Computed Field Types
          • Field Types by Formula Data Type
          • Field Types in Scripting
        • Specific field types
          • Formula fields
            • Demystifying Formulas (DareTable 2022)
          • Rollup fields
          • Select fields
          • Attachment fields
            • Uploading Attachments
            • Attachment Size
            • Attachment URLS
            • Thumbnails
        • Converting Field Types
        • Naming fields
        • Metadata fields
          • Simple Metadata Fields
          • Data Validation
          • Additional Dependencies
          • Original Record URL (Thumbprint) Field
          • Column Divider Fields
          • DareTable 2023 Presentation
        • Field dependencies
      • Formulas
        • Formula Field Reference
        • Writing Formulas
          • Using AI to Write Formulas
          • General tips for writing formulas
          • Testing for Blank Values
          • Drafting Formulas in Parts
          • Function versus Operator
          • Typing Special Characters
          • Commenting Formulas
          • Formulas to avoid
        • Formatting Formulas
          • Basic Rules
          • Nested IF formulas
          • SWITCH Formulas
          • Operators
        • Specific Formulas
          • Ranges of Numbers Values
          • Comma Separated List of Fields Values with Optional Fields
          • Earliest / latest date across columns
          • List Fields Values (one per line) with Optional Fields
          • Rounding a date to the half year
          • Url of Interface Page for a record
          • Removing varying items from a list
        • Data Type Conversion in Formulas
          • Text to Numbers
          • Numbers to Text
          • Data type conversions with Dates
        • Troubleshooting Formulas
          • Formulas that won't save
          • Hiding or showing #ERROR!
          • Troubleshooting date/time/duration formulas
          • Troubleshooting numeric formulas
          • Troubleshooting formulas with lookups
          • Troubleshooting text formulas
      • Automations
        • Triggering automations
          • Triggering automations for typed values
          • Triggering automations on existing records
        • Sending Emails
          • Ways to send emails
          • Using links in emails
          • Emailing Attachments
        • Accessing updated record values
        • Third party automations
        • Managing automation runs
      • Templates
        • Templates for record values
        • Templates using field values
      • Controlling Access
        • Sharing a base
        • Access control considerations
        • Techniques for limited access
          • Airtable interface
          • Share link access
          • Synced table
          • Prefilled forms + Automations
          • 3rd party portal
          • 3rd party webhook
        • Preventing base duplication
      • Specific Solutions
        • Most recent form submission for ermail
        • Email digest of a person’s records
        • Sum of Multiple Select choices
        • Link to multiple records based on select choices
        • Dropping Lowest Score (top 4 of 5)
        • Identify the position of a record in a linked record field (top 4 of 6)
        • Sequential Numbering of Records
        • Ending a list of rollup items with ", and"
        • Table ID in a formula
        • Latest/earliest date across several fields
        • Associating People with Records
        • First Tuesday of the Previous Month
      • Miscellaneous
        • Web API Calls for External Integrations
        • Getting paid to work with Airtable
        • Hiring a consultant
        • Airtable Communities
        • Making major changes to a base
      • Suggestion for this guide

First Tuesday of the Previous Month

Thank Kuovonne for creating this content!

Inspiration

In this , a user wants a formula that outputs the first Tuesday of the previous month. Let’s tackle this in two stages. First get the first day of the previous month, then find the first Tuesday of that month.
image.png

The First Day of the Previous Month

Here are two different ways to get the first day of the previous month. Pick the method that makes the most sense to you.

Subtract Days Method

The original poster put together a formula that gave the first date of the previous month. However, that formula unnecessarily produced a text string that looked like a date, not an actual date object.
Here is a formula with the same basic logic, but formatted across multiple lines and without turning the date object into a text string.
This formula subtracts days from the date to get to the first of the current month, then subtracts an additional month.
image.png

DATETIME_PARSE() Method

This formula creates a text string representing the first of the month, using the MONTH() and YEAR() of the {Date} and hard-coding 1 as the day. Then the text string is parsed into a date object.
Finally, at the outermost level of the formula, adding negative one month to the parsed date results in the first of the previous month.

image.png

The First Tuesday

Here are two different ways to get the first day of the previous month. Pick the method that makes the most sense to you.

SWITCH() method

To get the first Tuesday of the month, use WEEKDAY() to find the day of the week for the first of the month.
If the month starts on a Sunday, add 2 days. If the month starts on a Monday, add 1 day. If the month starts on a Tuesday, add zero days. If the month starts on a Wednesday, add 6 days, and so on.
I prefer this method to the next method because I find it easier to read. I also add 0 days versus not adding any days because it keeps the parallel structure of the formula, and makes the formula easier to adjust if you want a different day of the week.
Because the formula for the {First of Previous Month} is used so many times in this formula, I prefer to keep it in its own formula field instead of trying to combine both formula fields into one.

image.png

More Math Method

This formula has fewer lines because the number of days to add is embedded in the IF() function. If the first of the month is Tuesday or earlier, subtract the current numeric day of the week from 2. Otherwise, subtract the current numeric day of the week from 9.
I personally find this formula harder to read.
image.png
Thank Kuovonne for creating this content!
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.