Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: mgpI have a list of customers and invoice dates. I need to pull in a
beginning and end date for each row to perform a calculation. Please see the attached file for an example.
For the Beg date, when the invoice date is populated, the beginning date = the invoice date. When the invoice date is null, it has to look ahead to the next invoice.
For the End date, it needs to look up the prior invoice. If a prior invoice can't be found, then it should result in NULL.
Thank you for any help!
Capture.jpg