Help

Re: Assign a due date of Thursday for all items due in a certain week

709 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Joan_Born
4 - Data Explorer
4 - Data Explorer

Hi - I’m trying to set a due date that is two weeks out from a publish date on the nearest Thursday. Essentially, everything that is set to be published in week 25, should be due the Thursday of week 23. Does anyone have any hot tips on how to formulate this one?

1 Reply 1
momentsgoneby80
7 - App Architect
7 - App Architect

Hi and welcome @Joan_Born!

This should work for you

IF(
    {Date field},
    DATEADD(DATEADD({Date field},-2,'weeks'),4-WEEKDAY({Date field}),'days')
    )