alhamdan19995
New Member
- Joined
- Feb 7, 2022
- Messages
- 2
Hi All,
I am looking for some help with a dynamic percentage change formula. I have quarterly data of purchase price per unit (2019 - 2021) for each product. Some products were not purchased each quarter so I need a formula that would use the most recent purchase in those instances(i.e. purchased in Q1-19 and Q3-19, so calculate the change between those). See example below, what would the most efficient formula that would calculate the change from Q2-20 to Q4-19 for Product A and Q4-20 to Q1-20 for product B?
Purchases per quarter.
Thanks!
I am looking for some help with a dynamic percentage change formula. I have quarterly data of purchase price per unit (2019 - 2021) for each product. Some products were not purchased each quarter so I need a formula that would use the most recent purchase in those instances(i.e. purchased in Q1-19 and Q3-19, so calculate the change between those). See example below, what would the most efficient formula that would calculate the change from Q2-20 to Q4-19 for Product A and Q4-20 to Q1-20 for product B?
Purchases per quarter.
Q1-19 | Q2-19 | Q3-19 | Q4-19 | Q1-20 | Q2-20 | Q3-20 | Q4-20 | |
Product A | 4 | 5 | 3 | 2 | 5 | 2 | ||
Product B | 3 | 4 | 5 | 2 |
Thanks!