To
taylor.r113y wrote: ↑Sun Mar 01, 2026 11:20 am
I am looking for a formula that inputs a number only on every 3rd Saturday of the month.
I assume that you want the formula to
output a number at the given condition.
In computer lingo:
Input is taken to mean that the computer/software/model receives data from human action/external process/storage.
Output is when the computer/software/model displays/pushes/saves data towards human/process/storage.
taylor.r113y wrote: ↑Sun Mar 01, 2026 11:20 am
The date is in column A, and runs the length of the column, from cell A1 to A999.
First, find a reference point based on the date in column A. Assuming that we are now on the top row, where date is in cell A1:
The
DAY() function returns the number of days passed in the current month.
The
CURRENT() function returns the intermediate value calculated by our formula up to "this point".
Let us use the last day of previous month as the first "anchor point". To calculate that date:
We need to move that anchor point three weeks into the correct month, plus one day for "good measure".
Now we have calculated the 22nd day of the month (from the date in A1). This means that there will be 21 days, or exactly three full weeks of the month (IOW also exactly 3 Saturdays)
before this date.
The
WEEKDAY() function numbers weekdays starting from sunday=1. Incidently, this number is the same as "count of days since last saturday" (a fact which karolus also utilizes in his answer; I borrowed it from there

). So, to get to the previous Saturday, subtract the number for weekday from this date.
If you will also need this for days other than Saturdays, it may be better to go about it differently.
Code: Select all
=A1-DAY(CURRENT())+22-WEEKDAY(CURRENT())
This will be the third Saturday in the month indicated by the value in A1.
Note that the two occurrences of CURRENT() in this formula will have different values. This may appear confusing; it takes a little practice getting used to it. When you edit a formula containing CURRENT(), make sure that you have complete understanding and control of the calculation sequence.
Your conditional formula could then be:
Code: Select all
=IF((A1-DAY(CURRENT())+22-WEEKDAY(CURRENT()))=A1;A_NUMBER;"")
Replace the A_NUMBER placeholder with the particular number (or reference) you want to output at this point.