Fix an Excel WORKDAY Formula Returning a #VALUE! Error
Question details
Identify and convert text dates in an Excel WORKDAY holiday range to resolve a #VALUE! error.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A WORKDAY formula uses a holiday range containing dates imported from financial websites.
- Observed behavior
- The formula returns #VALUE! when the holiday range is extended past row 284, where a holiday entry may be stored as text.
Locate the holiday range referenced by your WORKDAY formula and check the first row that causes the error. Note the order of the imported dates, such as month-day-year or day-month-year, before converting them.
Convert recognizable text dates with Paste Special
Use this method when Excel can recognize the imported text as dates.
In an empty cell, enter =ISNUMBER(AQ285), replacing AQ285 with the first suspect holiday cell. FALSE means the entry is not stored as a number.
Enter 1 in an empty cell, select it, and press Ctrl+C or use Copy.
Select the affected holiday cells, open Home > Paste > Paste Special, choose Multiply, and select OK.
Select the converted cells and use Home > Number Format > Short Date. Test them again with ISNUMBER and confirm that the displayed dates are correct.
Edit the WORKDAY formula to include the required future holidays, for example =WORKDAY(A2,B2,AQ2:AQ300), using your actual start date, days, and holiday range.

Convert imported holiday dates with Text to Columns
Use this method when imported dates need an explicit month-day-year or day-month-year order.
Calculate workdays and holidays in WPS Spreadsheets
Use WPS Spreadsheets to create a WORKDAY formula with real date values and check holiday entries before including them in the calculation.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your Excel workbook.
- 2. Check holiday entries: In an empty cell, enter =ISNUMBER(AQ285), replacing AQ285 with a holiday cell. TRUE indicates that the cell contains a number.
- 3. Enter valid dates: For a text entry, replace it with a valid date or use a formula such as =DATE(2027,12,25) in the holiday cell. Apply a date format from the Home tab.
- 4. Calculate the workday: Enter a formula such as =WORKDAY(A2,B2,AQ2:AQ300), adjusting the start date, number of days, and holiday range to match your worksheet.

Frequently Asked Questions
Why does WORKDAY return #VALUE! when I extend the holiday range?
A newly included holiday cell may contain text rather than a valid date value. Test the first added cell with =ISNUMBER(AQ285), substituting its actual address.
Why didn't changing the cell format fix my holiday dates?
Changing Home > Number Format changes how a value is displayed; it does not necessarily convert text into a date. Use Paste Special > Multiply or Data > Text to Columns to convert recognizable text dates.
What if Paste Special > Multiply does not convert a date?
Select the affected cells and choose Data > Text to Columns. Select Date as the column data format and choose the order that matches the imported dates, such as MDY or DMY.
What else can cause a WORKDAY #VALUE! error?
Check that the start date is a valid Excel date and that the days argument is numeric. You can test the referenced cells with ISNUMBER and correct any text or invalid entries.




