Thank you the file, but my problem still open.
My target is to sumifs the turnover in the month (on sheet2) but due to format of the delivery date is not possible. But if I type manually the delivery date on sheet1 the formule calculate as I expect (on sheet2).
Thank you the advice but I am sad to read this because i have to handle more thousand materials (number of the materials are changing day by day) in one shot and I want to avoid that to extend the range of the formula manually.
But if there is not solution... I change manually.
I am not able to understand your problem ; the extension that you want can be done , but not by the code you have posted ! That code has to be rewritten to do what you want.
If you can explain in detail , and post a file which has a larger data set , that code can be written.