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
-
Nest it in an IFERROR(your current formula,"")
Answers
-
Nest it in an IFERROR(your current formula,"")
-
Worked like a charm @Hollie Green thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!