MrRajKumar
Active Member
- Joined
- Jan 29, 2008
- Messages
- 291
- Office Version
- 365
- Platform
- Windows
Hi Everyone,
Here is my data layout (A1;D5)
Date # of Months Amount Pay
1/1/2023 12 1,000 100
1/15/2023 18 1,500 150
2/23/2023 6 2,000 500
6/1/2023 24 2,500 250
All these values are filled as dynamic array. In column D, I need to get in which month we will achieve the amount (multiply # of Months (1 to n) with Pay amount).
So currently I used XLOOKUP with SEQUENCE.
=XLOOKUP(C2,SEQUENCE(,B2)*D2,EOMONTH(A2,SEQUENCE(,B2)-1),"",1)
It works fine. But I have drag down until the data set. So how can I use this formula with dynamic array feature, eg: C2#
May be using with MMULT. I don't know. Thank you for your time & assistance.
Raj
Here is my data layout (A1;D5)
Date # of Months Amount Pay
1/1/2023 12 1,000 100
1/15/2023 18 1,500 150
2/23/2023 6 2,000 500
6/1/2023 24 2,500 250
All these values are filled as dynamic array. In column D, I need to get in which month we will achieve the amount (multiply # of Months (1 to n) with Pay amount).
So currently I used XLOOKUP with SEQUENCE.
=XLOOKUP(C2,SEQUENCE(,B2)*D2,EOMONTH(A2,SEQUENCE(,B2)-1),"",1)
It works fine. But I have drag down until the data set. So how can I use this formula with dynamic array feature, eg: C2#
May be using with MMULT. I don't know. Thank you for your time & assistance.
Raj