I am trying to categorise some deliveries by creating a "drop code" as an identifier. the drop code needs to be the delivery postcode + date item ordered + the time it was delivered.
the catch is that any item to the same postcode on the same day that are larger than 2 hours apart on the last scan need to be shown as a separate delivery. I need help creating the "drop that day" column to be able to finish making my drop code column.
much appreciated for any help
<tbody>
</tbody>
the catch is that any item to the same postcode on the same day that are larger than 2 hours apart on the last scan need to be shown as a separate delivery. I need help creating the "drop that day" column to be able to finish making my drop code column.
much appreciated for any help
postcode | last scan | date sent | Drop that day | drop code ('=A1& " " &C1& " " &D1) |
B20 3JQ | 10/02/2017 12:30 | 09/02/2017 | drop 1 | B20 3JQ 42775 drop 1 |
B20 3JQ | 10/02/2017 12:55 | 09/02/2017 | drop 1 | B20 3JQ 42775 drop 1 |
B20 3JQ | 10/02/2017 18:00 | 09/02/2017 | drop 2 | B20 3JQ 42775 drop 2 |
B20 3JQ | 10/02/2017 18:30 | 09/02/2017 | drop 2 | B20 3JQ 42775 drop 2 |
B20 3JQ | 11/02/2017 12:30 | 10/02/2017 | drop 1 | B20 3JQ 42776 drop 1 |
b20 4JL | 11/02/2017 12:55 | 10/02/2017 | drop 1 | b20 4JL 42776 drop 1 |
B60 2BS | 11/02/2017 18:00 | 10/02/2017 | drop 1 | B60 2BS 42776 drop 1 |
B30 5DD | 11/02/2017 18:30 | 10/02/2017 | drop 1 | B30 5DD 42776 drop 1 |
B30 5DD | 11/02/2017 21:30 | 10/02/2017 | drop 2 | B30 5DD 42776 drop 2 |
<tbody>
</tbody>