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
- 65.5K Get Help
- 448 Global Discussions
- 144 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!