Thank you for your help. Your example is really much better.
But I'd like to ask another question. Using Match function we have found that the difference between days is 23 (36-13). But is it possible to include the first day to calculation so the actual result would be 24?

Thank you