Forum Discussion
Jna3276
Nov 19, 2024Copper Contributor
Populate future date
Hi, Is it possible to create a formula which inserts a future date, either 5 working days or 20 working days or blank Sheet includes a received date, column G, the formula would be in column ...
Riny_van_Eekelen
Nov 19, 2024Platinum Contributor
Trying again! Now I changed the file name just to be sure.
Jna3276
Nov 20, 2024Copper Contributor
Thanks!
If it had NA, in the column with No, Yes and you want that to return NA how would the forumla change?
- SergeiBaklanNov 20, 2024Diamond Contributor
Variants
=IF( I2= "", "", IF( I2 = "NA", "NA", WORKDAY.INTL(G2, 20*(I2="no") + 5*(I2="yes") ) ) )or
=IF( I2="", "", IFERROR( WORKDAY.INTL(G2, 20*(I2="no") + 5*(I2="yes") + (I2="NA"), I2<>"NA" ), "NA") ) - Riny_van_EekelenNov 20, 2024Platinum Contributor
Like so:
=IF(I2="NA","NA",WORKDAY.INTL(G2,XLOOKUP(I2,{"no","yes"},{20,5},0)))