Hello,
I'm tracking inventory movement year over year to get ageing. I have the qty movement annually summed (purchase, sales, adj, etc.). I need to age in <1yr, 1-3yrs, and >3years groups. I'm using Ifs and sum but when the sum results in negative, I still need the positive value within the range to show (that's a purchase within that year range = age) and that value to deduct from the positive qty from the year range before.
So for above sample, the result should be:
Please assist. Thank you.
I'm tracking inventory movement year over year to get ageing. I have the qty movement annually summed (purchase, sales, adj, etc.). I need to age in <1yr, 1-3yrs, and >3years groups. I'm using Ifs and sum but when the sum results in negative, I still need the positive value within the range to show (that's a purchase within that year range = age) and that value to deduct from the positive qty from the year range before.
A | D | C | D | E | F | G | H | |
1 | ||||||||
2 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 |
3 | 850 | -437 | -200 | -16 | 1 | -2 | -100 | 850 |
So for above sample, the result should be:
<1Year (2023) | 1-3Years (2020-2022) | >3Years (2016-2019) |
850 | 1 | 95 |
Please assist. Thank you.