Function Problems

WPS Spreadsheets: Identify the 13th Working Day of Each Month

Phi Hung VoPhi Hung Vo Nov 12, 2026 869 views

Question details

The user needs to flag the 13th working day of each month in a date column.

Identify the 13th Working Day of Each Month in WPS Spreadsheets
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A worksheet contains every calendar date in column A, and column B should identify the date that is the 13th Monday-to-Friday working day of its month.
Observed behavior
The second column needs to display “13th Working Day” only for the matching date and remain blank for all other dates.
Before you start

Make sure the values in column A are recognized as valid dates rather than text. If public holidays should be excluded, enter the holiday dates in a dedicated range such as H2:H20.

Solution 1Recommended

Flag the 13th working day with WORKDAY and EOMONTH

Use this formula when weekends are Saturday and Sunday and only Monday-to-Friday workdays need to be counted.

EOMONTH(A2,-1) returns the last day of the previous month, and WORKDAY counts forward to the 13th weekday of the current month. The formula can then be filled down beside the full date list.

1
Select the result cell

Open the worksheet in WPS Spreadsheets and select cell B2 next to the first date in A2.

2
Enter the weekday formula

In the formula bar or directly in B2, enter =IF(A2=WORKDAY(EOMONTH(A2,-1),13),"13th Working Day","") and press Enter.

3
Fill the formula down

Select B2, use the fill handle, or choose Home > Fill > Down to copy the formula through the rows containing dates.

4
Add holidays when needed

If holidays in H2:H20 should not count as workdays, replace the formula with =IF(A2=WORKDAY(EOMONTH(A2,-1),13,$H$2:$H$20),"13th Working Day","").

Expected result: With a Monday-to-Friday workweek and no holidays, the 13th working day falls on the 17th, 18th, or 19th calendar day of the month. Only the matching row displays the label.

Calculate and flag monthly working days in WPS Spreadsheets

WPS Spreadsheets can identify the 13th working day with WORKDAY and EOMONTH, fill the result down a date column, and exclude holidays from a specified range when needed.

  1. 1. Open your spreadsheet: Launch WPS Office, open WPS Spreadsheets, and load the workbook containing the date column.
  2. 2. Enter the formula: Select B2 and enter =IF(A2=WORKDAY(EOMONTH(A2,-1),13),"13th Working Day","").
  3. 3. Include holidays if required: Add holiday dates to H2:H20 and use the holiday-aware formula with $H$2:$H$20 as the third WORKDAY argument.
  4. 4. Fill the formula down: Drag the B2 fill handle or use Home > Fill > Down to process the remaining dates.
Automatically flags the 13th Monday-to-Friday working day in each monthSupports a holiday range for accurate business-day calculationsWorks with familiar spreadsheet formulas and a clear, easy-to-use interfaceCompatible with Microsoft Excel XLS and XLSX formats
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula use EOMONTH(A2,-1) as the starting date?

EOMONTH(A2,-1) returns the last day of the previous month. WORKDAY then counts forward from that point to locate the 13th working day of the month containing A2.

How can I exclude public holidays from the calculation?

List the holiday dates in a range such as H2:H20, then use =IF(A2=WORKDAY(EOMONTH(A2,-1),13,$H$2:$H$20),"13th Working Day","") in B2.

What happens if the date in column A is stored as text?

The comparison may not work correctly. Select column A and use Home > Number Format > Date, or convert text dates into real date values before applying the formula.

Can this formula work with a different weekend schedule?

The standard WORKDAY function excludes Saturday and Sunday. For custom weekends, use WORKDAY.INTL and specify the appropriate weekend pattern, while keeping the same IF and EOMONTH structure.