SubtleNoob
New Member
- Joined
- Nov 22, 2015
- Messages
- 11
Hello,
I need to loop a look up multiple times to find the final value for a range of dates.
So in an additional column in the below table i need to lookup into the next quarter the value in "Inputs Combined", then look up that value into the next quarter and so on until a max date.
Such that in rows, row 2 goes to row 6, row 6 to row 7. Outputting row 7 Asset value. But this would need to be in rows 2, 6 and 7 in the new column.
It needs to be something of a looped look up.
A macro solution or a formula would be welcome. I think it requires a macro.
Many thanks.
I need to loop a look up multiple times to find the final value for a range of dates.
So in an additional column in the below table i need to lookup into the next quarter the value in "Inputs Combined", then look up that value into the next quarter and so on until a max date.
Such that in rows, row 2 goes to row 6, row 6 to row 7. Outputting row 7 Asset value. But this would need to be in rows 2, 6 and 7 in the new column.
It needs to be something of a looped look up.
Reporting_Date | Asset_Number | Market_Value | Inputs combined |
30/09/2018 | 21975 | 6,822,164 | |
30/09/2018 | 21979 | 14,355,242 | 21977 |
30/09/2018 | 21977 | 33,506,866 | 21975 |
31/12/2018 | 21975 | 6,470,263 | |
31/12/2018 | 21979 | 13,971,294 | 21977 |
31/12/2018 | 21977 | 38,220,950 | 21975 |
31/03/2019 | 21975 | 6,916,398 | |
31/03/2019 | 21979 | 13,971,294 | 21977 |
31/03/2019 | 21977 | 38,220,950 | 21975 |
A macro solution or a formula would be welcome. I think it requires a macro.
Many thanks.