Recurrence Formulae for specified range

Generic selectors
Exact matches only
Search title only
Search in content
Search in all posts
Search in pages
Answers
Questions
Solved329 viewsFormulas and Functions
0

Hi —
First time posting here. New to Quantrix. I couldn’t find the solution / answer to this either here or on the online user guide.
I am trying to write a recursion formula for a specific range within an item. Reason being is that I have to write the formula for revenue a couple different ways depending on the period. (i.e., 2015 – 2017 should be calculated as the forward year’s revenue divided by (1+growth rate) and 2019 and onwards should be calculated as previous year’s revenue multiplied by (1+growth rate). 2018 is a hardcoded value.
Below is my attempt
Period[this]:’2015′:Revenue.Total..period[this]:’2017′:Revenue.Total = Matrix2::period[NEXT]:revenue growth:’2015′..period[next]:revenue growth:’2017′
I get the error multiple references to items on category ‘Period.’ after ‘:’
Is there an easy way to accomplish this? Also, in general, an easy way to accomplish recursion in different parts of the same item?
Or would you, in general, split up the item into helper items and then consolidate? If so, that seems a bit painful compared to how you would accomplish in Excel.

Answered question
0

Addendum. As far as I understand, your problem in QM can be solved with two formulas. For the sake of simplicity, I used the constant growth rate to demonstrate the principle of the solution.
*

*
Good luck

Selected answer as best
You are viewing 1 out of 4 answers, click here to view all answers.

Latest Questions