I have quite a bit of database experience.
if you are happy to attach or PM me some sample data and your requirements, I will take a look for you.
(What I don't want to do is give you an apparent lifeline and you ultimately find you cannot progress with the extension and fall foul of the 15 day return policy).
Happy to help if I can