Creating seperate excel based on dates

we can write back into excel as shown above