Can I register blank cells during a nested IF conditional?

Hi, I have a question regarding a nested IF conditional that counts the next Friday after a date. What I'm attempting to do is to leave the cell blank if the captured date is blank.

CONTEXT:

My form has a column for manual input ([Actual Date of Publishing]) that I translate into the Friday following that date ([End of Week by Publishing Date]).


My current successful formula to translate the date is the below nested IF conditional:

=IF(WEEKDAY([Actual Date of Publishing]@row) = 1, [Actual Date of Publishing]@row + 5, IF(WEEKDAY([Actual Date of Publishing]@row) = 2, [Actual Date of Publishing]@row + 4, IF(WEEKDAY([Actual Date of Publishing]@row) = 3, [Actual Date of Publishing]@row + 3, IF(WEEKDAY([Actual Date of Publishing]@row) = 4, [Actual Date of Publishing]@row + 2, IF(WEEKDAY([Actual Date of Publishing]@row) = 5, [Actual Date of Publishing]@row + 1, IF(WEEKDAY([Actual Date of Publishing]@row) = 6, [Actual Date of Publishing]@row, IF(WEEKDAY([Actual Date of Publishing]@row) = 7, [Actual Date of Publishing]@row + 6)))))))

This effectively captures the Friday dates I need (see rows 3, 4, 6-10), provided there's value in [Actual Date of Publishing]@row. Where I'm getting an #INCORRECT ARGUMENT SET error is when I try to capture the blank [Actual Publishing Date] cell with:

=IF(ISBLANK([Actual Date of Publishing]@row, "", IF(WEEKDAY([Actual Date of Publishing]@row) = 1...

How can I capture that [Actual Date of Publishing]@row is BLANK and translate that to a BLANK cell in [End of Week by Publishing Date]?

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!