How to Convert Dropdown text into number of days
How do I calculate & convert dropdown text (Daily, Weekly, Monthly....) where Day = 1, Week = 7..... into number of days so it can be calculated into my sheet's 'Recurrence' filed (Re attached)
Best Answer
-
There is no label value concept in the dropdown so you cannot do that in the same column (Reference), however if you want to populate the next submission date column then you can use the IF formula and add days based on Recurrence value; something like,
IF(Recurrence@row = "Daily", Recurrence@row + 1, IF(Recurrence@row = "Weekly", Recurrence@row + 7, Recurrence@row + 30))
Answers
-
There is no label value concept in the dropdown so you cannot do that in the same column (Reference), however if you want to populate the next submission date column then you can use the IF formula and add days based on Recurrence value; something like,
IF(Recurrence@row = "Daily", Recurrence@row + 1, IF(Recurrence@row = "Weekly", Recurrence@row + 7, Recurrence@row + 30))
-
Thanks Sameer! that works like a charm :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!