Hey All,
Looking for a way to aggregate all as of dates into one descriptor based on its open date. For example, if I have 2 accounts with as of dates of 3/1/18 and 7/1/18 and account open dates of 3/28/18 and 6/29/18, I want those as of dates under "M1" or month1. For these same accounts, I'd like the following month as of dates (4/1/18 and 8/1/18) to be "M2". See image below.
Dummy.png
Basically the as of dates are the end of month balance for that month and I want to know how many were funded in M1 and M2. This may be convuluted so I attached dummy data.
I basically tried setting the account open date to the first day of that month and used this as an account open date2. I then matched account open date2 with the as of date array.
The problem I'm running into under the "My Solution" part is that there shoud be an as of date for the month the account opened (accounts opened in June should have an as of date of June). However, due to some factors, the earliest as of date might be 1 or more months after the account opened.
I highlighted in yellow this issue. If my approach was way off I'm open to new ones.
This was more difficult to explain than I had thought. My apologies!
Bookmarks