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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!