Hi Spadgett,
I had same issue last week, I was planning to create pivot table to aggregate all duplicate lines then reference it in the the DBR function.
I am waiting for update file from the the user to test it. but I think should do the trick.
I will update you with my results.
Regards,
Muhammad Eissa