Workday results for next year result in blue warning
Hello,
I use a WORKDAY formula that gives me the results I’m looking for, but when the result is in the following year, a blue warning triangle appears. For some reason, I’m unable to see what the warning is when I tap it while using my iPad. Using a MacBook reveals the warning: DATE month argument should be between 1 and 12.
This part of my table is for when a bank statement is generated, and when the payment is due. The due date is the 14th of the next month, unless the 14th is a weekend or holiday. In those cases, the due date is the last workday before the 14th. The formula I use is:
WORKDAY(DATE(YEAR(B14),MONTH(B14)+1,14)+1,−1,Holidays::Date)
It works fine until December 3rd of every year. The result for the following January is correct, but I don’t know how to correctly write the formula to avoid the error.
Please help me correct my formula. I’m trying to avoid changing it every 12 rows, so it’s just one formula that I can use for every row. Thanks so much for your help.
iPad Pro (5th generation)