Nested OR statement with Workday function
I have two columns that populate dates, if one has a date in it the other one is empty. I'm trying to develop a formula that looks at both columns and returns the day of the week.
=IF(OR(WEEKDAY([Meeting Date]@row) = 2, WEEKDAY([Due Date]@row) = 2), "Monday", "") and I'm getting an #INVALIDDATATYPE error message. I've worked the formulas by themselves and they work but the minute I combine them it populates the error.
Best Answer
-
Try nesting the IF inside of the WEEKDAY function.
WEEKDAY(IF([Meeting Date]@row <> "", [Meeting Date]@row, [Due Date]@row))
Answers
-
Try nesting the IF inside of the WEEKDAY function.
WEEKDAY(IF([Meeting Date]@row <> "", [Meeting Date]@row, [Due Date]@row))
-
Thanks! I knew I was overlooking something simple!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!