问题
Hello and thanks for reading this,
what kind of data Imagine a Ice Cream Delivery Service. We have daily deliveries each delivery is uniquely defined and we have a fleet of delivery trucks and each truck has to be checked before departing to its destination. Now we have a record of all the deliveries and the according time spent for truck checking.
So basically the outcome we want is this:
We want to define time periods ..in which a truck only has to be checked once. If the period was 4 days, the truck would be delivering without checking once it has been check for the first time in this time period. Each delivery has to automatically fall into it's period based on the delivery date (accomplished). After every delivery with a new (in this period not yet checked) truck, the truck is taken into a group of trucks that will not have to be checked again. New deliveries will then be compared to that group to decide if it has to be checked or not.
The tricky part is automatically applying the formula to the cells based on dates/periods like shown below:
Can anyone help?
kind regards
来源:https://stackoverflow.com/questions/58715114/applying-local-dynamic-range-dependent-on-lookup-values-in-excel