Date based on the different cell values
Hi need help in calculating date based on the cell value in "Grouping"
If Cell value in grouping is "A" then add 45 days to the date in "End date" for the date required for populating next cycle count schedule.
If Cell value in grouping is "B" then add 30 days to the date in "End date" for the date required for populating next cycle count schedule.
If Cell value in grouping is "C" then add 25 days to the date in "End date" for the date required for populating next cycle count schedule.
If Cell value in grouping is "D" then add 15 days to the date in "End date" for the date required for populating next cycle count schedule.
If Cell value in grouping is "E" then add 10 days to the date in "End date" for the date required for populating next cycle count schedule.
Thanks
Best Answer
-
Hi @Sunny Singh,
This is a relatively straightforward nested IF statement, with the formula being:
=IF(Grouping@row = "A", [End Date]@row + 45, IF(Grouping@row = "B", [End Date]@row + 30, IF(Grouping@row = "C", [End Date]@row + 25, IF(Grouping@row = "D", [End Date]@row + 15, IF(Grouping@row = "E", [End Date]@row + 10)))))
Hope this helps, but if you've any problems/questions then just let us know!
Answers
-
Hi @Sunny Singh,
This is a relatively straightforward nested IF statement, with the formula being:
=IF(Grouping@row = "A", [End Date]@row + 45, IF(Grouping@row = "B", [End Date]@row + 30, IF(Grouping@row = "C", [End Date]@row + 25, IF(Grouping@row = "D", [End Date]@row + 15, IF(Grouping@row = "E", [End Date]@row + 10)))))
Hope this helps, but if you've any problems/questions then just let us know!
-
Thank you Nick Works perfectly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!