What am I doing wrong when using Workday formula?


I am using this formula: =WORKDAY($[Due Date]$1, [Days from Close Day]101, Holidays:Holidays) It is returning Invalid Data Type Error. I think the issue is Holidays. It is working on some rows. I want to add it to new rows and I am getting this error. What am I doing wrong?



  • Eric Law
    Eric Law ✭✭✭✭✭✭

    @Sheila Robson Are you Holidays a date field? If not, it needs to be. Why is your Due Date with the numbers? That should just be [Due Date]1, which should also be a date. Are you applying this to the whole column with different numbers in Days from Close Day? Try the following formula

    =WORKDAY([Due Date]1, [Days from Close Day]@row, Holidays:Holidays)

    Hopefully that helps, if not, please respond and maybe provide a screenshot.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!