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
- Customer Resources
- 65K Get Help
- 443 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 129 Brandfolder
- 150 Just for fun
- 70 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!