I don't think this is the best forum for this question. A better place to start is one of the forums/places that do not focus on the QDF. Eg: New to QlikView I believe the response time in these forums are a lot faster than in here.
Howerer, the question is posted and I'll try to help you. I think you should take a look into a feature called intervalmatch(), I think it will help you to fill this requirement. Take a look at Henric Cronström blogpost