Skip to main content
Solved

Assistance with Dateadd & Workday Formula

  • October 5, 2021
  • 1 reply
  • 73 views

Forum|alt.badge.img+8

Hello,

I’m trying to create a formula that returns a workday date after 4 days are added. How do I adjust the field that is feeding the data, and the formula itself to always return a date that is on a weekday? It returns an “#ERROR” every time I try one of the formulas below.

DATEADD({Process Vetting Start Date},4,‘days’))
DATEADD(WORKDAY({Process Vetting Start Date},4,‘days’))
WORKDAY(DATEADD({Process Vetting Start Date},4,‘days’))

Thanks in advance

Best answer by kuovonne

The WORKDAY function does not take a units parameter. Just the field name and the number of working days. It is documented in the formula field reference.

WORKDAY({Process Vetting Start Date}, 4)

If you answer is off by a day, you may need to adjust the timezone settings of the field format.

1 reply

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • October 5, 2021

The WORKDAY function does not take a units parameter. Just the field name and the number of working days. It is documented in the formula field reference.

WORKDAY({Process Vetting Start Date}, 4)

If you answer is off by a day, you may need to adjust the timezone settings of the field format.