Number of Month Payback ROI
Hi everyone,
I have created a form and the pictures below is what is relevant to my question. We have projects with a fiscal year start date and end date, we also want to know the payback date. I did not chose the "date" function on the column as we are only interested in the fiscal year, but maybe there is a work around.
What I am trying to do is automatically calculate the "Investment will be paid back by" column. What I have so far is a calculation that determines how many months and then it is added to the "Fiscal Year Start Date Column" as you can see it produces "6-2020/21", ideally I would like it to show June-2020/21. Something along those lines.
Thanks.
Best Answer
-
To display it as June-2020/21 since it's not a date column, you have two choices:
First is going with a long nested IF formula that I would not recommand.
Second one would be to have an helper sheet that consist of 12 rows with such correspondance:
1 ==> January
2 ==> February
3 ==> March...
...
12 ==> December
Then wrap your ROUNDUP within an INDEX/MATCH to display it:
=INDEX({Month in letter Range}, MATCH(ROUNDUP(([Investment Request]@row / [Return Investment)*12,0), {Month in number Range},0)), + "-" + [Fiscal Year Start Date]@row.
Hope it helped!
Answers
-
To display it as June-2020/21 since it's not a date column, you have two choices:
First is going with a long nested IF formula that I would not recommand.
Second one would be to have an helper sheet that consist of 12 rows with such correspondance:
1 ==> January
2 ==> February
3 ==> March...
...
12 ==> December
Then wrap your ROUNDUP within an INDEX/MATCH to display it:
=INDEX({Month in letter Range}, MATCH(ROUNDUP(([Investment Request]@row / [Return Investment)*12,0), {Month in number Range},0)), + "-" + [Fiscal Year Start Date]@row.
Hope it helped!
-
Thanks @David Joyeuse this will work. Ironically bringing me back to the dreaded INDEX/MATCH.
-
You'll notice with experience that both INDEX/MATCH and COLLECT are powerful functions within Smartsheet.
Glad it worked!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!