I have a file that contains the following columns:
Period End Date
Net Asset Value
This file runs daily (except for weekends).
I need to pull the Net Asset Value for each period end date but the values can change day to day.
I only need it for the last "Run Date" before the "period end date" changes to the next period (ex: from 1/31/2023 to 2/28/2023).
For example, in the table below the period end date is 1/31/2023 for run dates 3/3 to 3/10. The Period End Date changes to 2/28/2023 on Run Date 3/11/2023. Therefore I need to pull the Net asset value of $10,000 as of 3/10/2023 which is the last time we see the period end date of 1/31/2023 before it changes to 2/28/2023.
The matrix I set up will pull in a net asset value of 15,000 (10,000 +5,000) for period end date 1/31/2023 because it finds two values for that date. This is incorrect and I am not sure how to fix it.
Run Date Portfolio Code Period End Date Net Asset Value
Unfortunately that did not work. I cannot keep a filter on this report as it needs to pull in all period end (month end) values which consists of three years worth of data 2020 to present which contains 100 portfolio codes.