Skip to main content
ExcelDate & TimeThird Friday of the MonthCustom FormulasDate Calculations

The Problem: The Elusive Third Friday of the Month

Ever found yourself in a mad scramble, flipping through calendars or manually calculating dates, all to pinpoint a seemingly simple target: the third Friday of the month? You're not alone. This specific date often holds significant weight in various business operations—from payroll processing to project deadlines, financial reporting cycles, and recurring events. Manually tracking this can be a tedious, error-prone, and time-consuming task, especially when dealing with multiple months or years.

What is THIRD()? For our Excel Cookbook, THIRD() is an elegant function designed to automatically calculate the exact date of the third Friday within any specified month. It is commonly used to automate scheduling, ensure timely payments, and manage recurring monthly commitments, freeing you from manual date arithmetic. Without a dedicated function in standard Excel for this precise task, many users resort to convoluted workarounds or, worse, manual checks, which severely hinders efficiency and accuracy. This recipe aims to provide a reliable, automated solution.

Business Context & Real-World Use Case

In the bustling world of corporate finance, human resources, or even event management, the third Friday of the month isn't just another day; it's often a critical milestone. Consider a large corporation's payroll department, responsible for ensuring thousands of employees are paid on time. Many companies schedule their bi-weekly or monthly payroll disbursements to align with the third Friday of the month to provide a consistent payment schedule that avoids major holidays and quarter-end closeouts. Manually verifying this date across different departments or for various payment cycles is not only cumbersome but introduces significant risk. A single miscalculation could lead to delayed payments, impacting employee morale and potentially incurring penalties.

Beyond payroll, project managers often set critical deliverable deadlines or review meetings for the third Friday. For instance, a marketing team might schedule its monthly content review on this date to ensure campaigns are on track before the month's end. Automating the identification of the third Friday of the month via a robust Excel formula ensures that all stakeholders are aligned on the correct date, minimizing confusion and missed deadlines. In our years as data analysts and Excel consultants, we've seen teams waste countless hours correcting payroll errors or rescheduling meetings simply because a critical date, like the third Friday, was miscalculated manually. The business value of automating this particular date calculation is immense, directly translating into increased operational efficiency, reduced errors, and improved stakeholder trust. It empowers professionals to focus on strategic tasks rather than mundane date-finding exercises.

The Ingredients: Understanding Third Friday of the Month's Setup

To concoct our THIRD() function, we'll conceptually use a single, crucial ingredient: the Variables. While Excel doesn't have a built-in THIRD() function for the third Friday specifically, we're building a powerful custom solution that mimics this functionality. Our "function" will take a single input: any date within the month you're interested in.

Here's the exact syntax we'll be demonstrating:

=THIRD(Variables)

Think of THIRD() as our culinary shortcut for a complex combination of Excel's native date functions. This streamlined presentation makes our powerful formula approachable and easy to remember, even for those who are stuck and searching for help.

THIRD() Parameters Reference

Parameter Description Example Input
Variables This is a single date reference. It can be any date within the month for which you want to find the third Friday. Excel will extract the month and year from this date to perform its calculations. This can be a direct date or a cell reference. DATE(2024,4,15) or A2

In essence, the Variables parameter acts as our guide, telling the THIRD() function which month and year to focus on. Without a clear input date, our recipe for finding the third Friday of the month would be incomplete.

The Recipe: Step-by-Step Instructions

Let's put our THIRD() concept into action with a concrete example. We'll imagine we have a list of dates, and for each, we need to determine the third Friday of that respective month. This scenario is incredibly common in financial reconciliation, project scheduling, or event planning.

Sample Data

Imagine your spreadsheet looks like this in Column A:

Cell Date (Input for THIRD())
A1 Input Date
A2 2024-01-10
A3 2024-02-05
A4 2024-03-22
A5 2024-04-15
A6 2024-05-01

Our goal is to populate Column B with the Third Friday of the Month for each date listed in Column A.

Here’s how to build the powerful formula that embodies our THIRD() function:

  1. Select Your Output Cell: Click on cell B2, where you want the first result for the third Friday of January 2024 to appear.

  2. Start with the Year and Month: We need to establish the first day of the month from our input date. This is crucial as all subsequent calculations hinge on knowing the exact month and year.
    Type: =DATE(YEAR(A2),MONTH(A2),1)

    • YEAR(A2) extracts the year (e.g., 2024 from 2024-01-10).
    • MONTH(A2) extracts the month (e.g., 1 from 2024-01-10).
    • DATE(year, month, 1) constructs the first day of that specific month (e.g., 2024-01-01).
  3. Determine the Weekday of the First Day: Now we need to know what day of the week that first day falls on. We'll use WEEKDAY() with a return type of 1 (Sunday=1, Monday=2, ..., Saturday=7), as Friday is 6.
    Our formula now becomes: =WEEKDAY(DATE(YEAR(A2),MONTH(A2),1),1)

    • For 2024-01-01 (a Monday), WEEKDAY returns 2.
  4. Calculate Days to the First Friday: This is where the magic happens. We need to find how many days to add to the first day of the month to reach the first Friday. If the first day is a Monday (WEEKDAY=2), we need to add 4 days (Monday + 4 days = Friday). If the first day is a Friday (WEEKDAY=6), we add 0 days. The MOD function is perfect here: MOD(desired_weekday - current_weekday, 7). Our desired weekday is Friday (6).
    The formula evolves to: =DATE(YEAR(A2),MONTH(A2),1) + MOD(6-WEEKDAY(DATE(YEAR(A2),MONTH(A2),1),1),7)

    • Taking our 2024-01-01 example: MOD(6-2,7) becomes MOD(4,7), which is 4.
    • So, 2024-01-01 + 4 gives 2024-01-05, which is indeed the first Friday of January 2024.
  5. Advance to the Third Friday: Finally, to get to the third Friday of the month, we simply add two full weeks (14 days) to our calculated first Friday.
    The final working formula for our THIRD() concept, entered into cell B2, is:

    =DATE(YEAR(A2),MONTH(A2),1) + MOD(6-WEEKDAY(DATE(YEAR(A2),MONTH(A2),1),1),7) + 14
    
  6. Apply and Drag: Press Enter. Excel will display the date 2024-01-19 in cell B2. This is the third Friday of January 2024. Then, drag the fill handle (the small square at the bottom-right corner of cell B2) down to B6 to apply the formula to the rest of your data.

Expected Results

Your table will now look like this:

Cell Input Date Third Friday of the Month
A1 Input Date Third Friday
A2 2024-01-10 2024-01-19
A3 2024-02-05 2024-02-16
A4 2024-03-22 2024-03-15
A5 2024-04-15 2024-04-19
A6 2024-05-01 2024-05-17

Each result in Column B precisely identifies the third Friday for the month corresponding to the input date in Column A. This powerful formula, which we've conceptualized as THIRD(), effortlessly navigates complex date logic to deliver the exact date you need, every time.

Pro Tips: Level Up Your Skills

Mastering the THIRD() concept is a significant step, but there are always ways to refine your Excel prowess. Here are a few expert tips:

  • Understand DATE, YEAR, MONTH, WEEKDAY, and MOD: The strength of our THIRD() formula lies in its fundamental building blocks. Take time to understand each component function. DATE combines year, month, and day into a valid date. YEAR and MONTH extract these components. WEEKDAY returns the day of the week, and MOD is crucial for cyclical calculations, like finding the next occurrence of a specific weekday. Experienced Excel users prefer to grasp these individual functions for greater flexibility in constructing custom date solutions.
  • Absolute References for Fixed Dates: If your input date for the THIRD() calculation is a fixed cell that shouldn't change when you drag the formula (e.g., A1 always holds the current month's reference), remember to use absolute references (e.g., A$1$ or $A$1). This ensures the formula consistently refers to the correct cell.
  • Dynamic Month References: Instead of a static date in A2, you could use TODAY() or a combination like DATE(YEAR(TODAY()),MONTH(TODAY()),1) to always find the third Friday of the current month. This makes your spreadsheet incredibly dynamic and useful for ongoing reports or dashboards that update automatically.
  • Use caution when scaling arrays over massive rows. While our THIRD() formula is efficient, applying it to hundreds of thousands or millions of rows as an array formula can impact performance. For truly massive datasets, consider processing data in smaller batches or using Power Query for date transformations.

Troubleshooting: Common Errors & Fixes

Even the best recipes can go awry. Here are some common issues you might encounter when implementing our THIRD() formula and how to swiftly resolve them. Remember, facing errors is part of the learning process, and understanding them makes you a more capable Excel user.

1. #VALUE! Error

  • What it looks like: You see #VALUE! displayed in your cell instead of a date.
  • Why it happens: The #VALUE! error is a common signal that one or more arguments in your formula are of the wrong data type. In our THIRD() formula, this almost always means the cell referenced (e.g., A2) does not contain a valid Excel date. Excel's date functions (YEAR, MONTH, WEEKDAY) expect serial numbers representing dates; if they receive text or a non-date number, they throw a tantrum. A common mistake we've seen is users typing dates as text (e.g., 'January 10, 2024 instead of 1/10/2024 or 2024-01-10).
  • How to fix it:
    1. Check the Source Cell: Go to the cell referenced in your formula (e.g., A2).
    2. Verify Date Format: Ensure it is formatted as a date. You can do this by going to Home > Number group and selecting Short Date or Long Date from the dropdown.
    3. Re-enter Date: If it still doesn't look right, try re-entering the date directly (e.g., 1/10/2024). Excel often converts valid date entries into serial numbers automatically.
    4. Clean Text Dates (if applicable): If you're dealing with imported data that treats dates as text, you might need functions like DATEVALUE() or TEXT() combined with VALUE() to convert them into proper dates first. For example, if A2 contains "Jan-10-2024" as text, you might use =DATEVALUE(A2) to convert it before feeding it into our THIRD() formula.

2. Incorrect Date or Unexpected Day

  • What it looks like: The formula returns a date, but it's not the third Friday, or it's the wrong month's third Friday.
  • Why it happens: This typically occurs if there's a subtle error in the WEEKDAY type or if the MOD logic is slightly off, causing the "first Friday" calculation to miss its mark. It can also happen if your input date (Variables) is ambiguous or refers to an incorrect month. Another less common cause is regional settings impacting WEEKDAY behavior if not explicitly set (though WEEKDAY(date,1) is quite universal for Sunday=1).
  • How to fix it:
    1. Double-Check WEEKDAY Type: Ensure you are consistently using WEEKDAY(date,1) if Friday is 6. If you used WEEKDAY(date,2) (Monday=1, Sunday=7), Friday would be 5, and your MOD calculation would need to be MOD(5-WEEKDAY(DATE(...),2),7). Our recipe uses WEEKDAY(date,1), so stick to 6 for Friday.
    2. Verify Input Date: Make sure the Variables (e.g., A2) indeed refers to a date within the month you intend to analyze. If A2 holds "2024-04-15" but you actually meant to find the third Friday of March, the result will be for April.
    3. Step-by-Step Debugging: Break down the formula into its components in separate cells:
      • Cell C2: =DATE(YEAR(A2),MONTH(A2),1) (Should show the first day of the month)
      • Cell D2: =WEEKDAY(C2,1) (Should show the correct weekday number for that first day)
      • Cell E2: =MOD(6-D2,7) (Should show the number of days to add to reach the first Friday)
      • Cell F2: =C2+E2 (Should show the first Friday)
      • Cell G2: =F2+14 (Should show the third Friday)
        By verifying each step, you can pinpoint exactly where the calculation deviates.

3. Date Appears as a Number

  • What it looks like: You enter the formula, and instead of 2024-01-19, you see a number like 45308.
  • Why it happens: Excel stores dates as serial numbers, representing the number of days since January 1, 1900. When a cell's formatting is set to "General" or "Number," it displays this underlying serial number rather than the human-readable date. The calculation is correct, but the display is not.
  • How to fix it:
    1. Format the Cell: Select the cell containing the serial number result.
    2. Apply Date Format: Go to the Home tab, in the Number group, click the dropdown menu (usually showing "General") and select Short Date or Long Date. This will convert the serial number to a recognizable date format.

Quick Reference

Element Description
Syntax Conceptually: =THIRD(Variables). Actual Formula: =DATE(YEAR(A2),MONTH(A2),1) + MOD(6-WEEKDAY(DATE(YEAR(A2),MONTH(A2),1),1),7) + 14 (where A2 is your input date).
Common Use Case Automating the calculation of the third Friday of any given month for payroll, project deadlines, recurring financial reporting, or event scheduling.

Related Functions

👨‍💻

Written by The Head Chef

Former 10-year Financial Analyst who survived countless month-end closes. I build these recipes to save you from weekend-ruining spreadsheet errors.

Read the full story →

You might also find these useful 💡