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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!