Weekday Formula to capture the Tuesday after a date
Hello,
I'm trying to use the Weekday function to add the Tuesday after a date in another cell. I started off with logic if the Weekday is a Sunday (1), then the Start Date should be '+2', but am getting the #Circular Reference error. Can you help?
Best Answer
-
Hi,
The problem is most likely because the formula is being entered in the same column where the data is being evaluated.
The formula below return the adjusted date, but in a different column.
=IF(WEEKDAY([End Date]@row) = 1, [Start Date]@row + 2)
I hope this helps otherwise hopefully someone else can provide you with a better solution.
Answers
-
Hi,
The problem is most likely because the formula is being entered in the same column where the data is being evaluated.
The formula below return the adjusted date, but in a different column.
=IF(WEEKDAY([End Date]@row) = 1, [Start Date]@row + 2)
I hope this helps otherwise hopefully someone else can provide you with a better solution.
-
Yes, that definitely helped. Thanks Jeff!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!