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.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!