Hi there,
I have a table with dates, cash-flow type and the cash-flow number for that cash-flow type. Here is an example:
Value date; Cash-flow type; # cash-flow
row A ; B ; C
line
1 08/11/2021 ; capital call ; 1
2 14/12/2021 ; capital call ; 2
3 03/02/2022; capital call ; 3
4 16/05/2022; capital call ; 4
5 12/09/2022; distribution ; 1
6 01/02/2023 capital call ; 5
7 09/03/2023; distribution ; 2
8 09/03/2023; distribution ; 2
9 16/06/2023; capital call ; 6
10 04/07/2023; distribution ; 3
Now, I would like to retrieve the value date corresponding to # cash-flow 2 if the cash-flow type is "distribution". I have searched in other places of this forum but the results I found were giving me a string several results while I'd like only one result. I thik i'm not using correctly the INDEX/MATCH/IF combination. Thanks for the help!
I have a table with dates, cash-flow type and the cash-flow number for that cash-flow type. Here is an example:
Value date; Cash-flow type; # cash-flow
row A ; B ; C
line
1 08/11/2021 ; capital call ; 1
2 14/12/2021 ; capital call ; 2
3 03/02/2022; capital call ; 3
4 16/05/2022; capital call ; 4
5 12/09/2022; distribution ; 1
6 01/02/2023 capital call ; 5
7 09/03/2023; distribution ; 2
8 09/03/2023; distribution ; 2
9 16/06/2023; capital call ; 6
10 04/07/2023; distribution ; 3
Now, I would like to retrieve the value date corresponding to # cash-flow 2 if the cash-flow type is "distribution". I have searched in other places of this forum but the results I found were giving me a string several results while I'd like only one result. I thik i'm not using correctly the INDEX/MATCH/IF combination. Thanks for the help!