Formula to auto calculate due date

I want to auto calculate the due date for monthly stock inventory.
For February it will be 28 of the month, for the rest of the month to be 30th.
Would appreciate your assistance.
Thanks.
Best Answer
-
Hi @Vivien Chong ,
Try:
=IF(month@row=11, date(year@row,11,28), date(year@row, month@row, 30)
Work for you?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Vivien Chong ,
Try:
=IF(month@row=11, date(year@row,11,28), date(year@row, month@row, 30)
Work for you?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Thanks @Mark Cronk , I am able to get what I want with the formula you shared.
-
Excellent. Happy to help. Thank you for using the Community.
Be Well,
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 488 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!