So I have 2 sheets.
The first shows a UID, dates when payments were made against that UID & how much was paid.
The second contains the UID & when that UID was bought & sold.
So I want to sum those payments against the UID between the bought and sold dates, between specific date ranges...