Dates Column Rule
Hey Team,
How can I build a rule to determine Start and End dates? I have these columns in my Grid, Start and End dates, but I also have a column called, Quarter. I want to build a rule saying that, when the user fills out the column Quarter, the start and end date columns are automatically filled out. Is that possible?
Thanks in advance
Best Answer
-
You would use nested IFs.
=IF(Quarter@row = "Q1", DATE(yyyy, mm, dd), IF(Quarter@row = "Q2", DATE(yyyy, mm, dd), IF(Quarter@row = "Q3", DATE(yyyy, mm, dd), IF(Quarter@row = "Q4", DATE(yyyy, mm, dd)))))
Answers
-
You would use nested IFs.
=IF(Quarter@row = "Q1", DATE(yyyy, mm, dd), IF(Quarter@row = "Q2", DATE(yyyy, mm, dd), IF(Quarter@row = "Q3", DATE(yyyy, mm, dd), IF(Quarter@row = "Q4", DATE(yyyy, mm, dd)))))
-
Hello Paul,
Thanks a lot, but it did not work, not sure if I am doing something wrong, see below. I am receiving the error, #INVALID COLUMN VALUE
-
Paul,
It worked now. The column was not defined as a date.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 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!