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
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!