Video Tour
Add Business Days
Date Add *4 Working Days
long form:
if(day(prop("Date")) == 0, dateAdd(prop("Date"), 4, "days"), if(day(prop("Date")) == 1, dateAdd(prop("Date"), 4, "days"), if(day(prop("Date")) == 2, dateAdd(prop("Date"), 6, "days"), if(day(prop("Date")) == 3, dateAdd(prop("Date"), 6, "days"), if(day(prop("Date")) == 4, dateAdd(prop("Date"), 6, "days"), if(day(prop("Date")) == 5, dateAdd(prop("Date"), 6, "days"), if(day(prop("Date")) == 6, dateAdd(prop("Date"), 5, "days"), now())))))))
Nested form:
if(or(day(prop("Date")) == 0, day(prop("Date")) == 1), dateAdd(prop("Date"), 4, "days"), if(or(or(or(day(prop("Date")) == 2, day(prop("Date")) == 3), day(prop("Date")) == 4), day(prop("Date")) == 5), dateAdd(prop("Date"), 6, "days"), dateAdd(prop("Date"), 5, "days")))
Matrix form:
if(contains("[0 1]", format(day(prop("Date")))), dateAdd(prop("Date"), 4, "days"), if(contains("[2 3 4 5]", format(day(prop("Date")))), dateAdd(prop("Date"), 6, "days"), dateAdd(prop("Date"), 5, "days")))
Short Form:
if(day(prop("Date")) <= 1, dateAdd(prop("Date"), 4, "days"), if(day(prop("Date")) <= 5, dateAdd(prop("Date"), 6, "days"), dateAdd(prop("Date"), 5, "days")))
Β
Β
Β
Β
Β
Β
Β
Β
Β
Β