Can i get get help with a date formula please?
Hi team, what is the formula to auto populate a date based on another date? ie "date 1" equals 7 days after "order date"?
Answers
-
Hi Chris
Your looking for Workday function which excludes Sat and Sun as it suggests. First, make sure all 4 column properties are set as a Date type. In [date 1] cell insert the formula =WORKDAY(order date@row, 7) This simply counts 7 working days from the date in your [Order Date] column. In date 2 & 3 cells on the same row insert the same formula changing the 7 to 14 and so on for date 3.
If there is no date in [order date] date 1, 2 & 3 will pop up with an error message #Invalid date type. You can avoid this using the =IFERROR function
=IFERROR(IF(ISDATE([order date]@row), WORKDAY([order date]@row, 7), ""), "")
To make these a column formula to capture all new entries, right click the cells with the result and at base of menu select Convert to column formula.
Hope this helps.
Cheers.
-
Make sure both order date and date 1 are "Date" format columns.
Use the following formula in date 1
=[order date]@row + 7
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!