Hi all,
I have a list of shipping numbers with piece numbers and date/time of first scan. Now i want to know when there is more then 1 hour between different piece numbers of the same shipping number (partial arrival).
As i have more then 100k rows i would like to find a formula in PowerQuery to reduce the stress on excel but all ideas are welcome!
the table should have following outcome.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Shipping number[/TD]
[TD]piece number[/TD]
[TD]first scan[/TD]
[TD]Partial arrival?[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]2[/TD]
[TD]22/06/2019 13:00[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]456789123[/TD]
[TD]1[/TD]
[TD]21/06/2019 10:00[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]4[/TD]
[TD]22/06/2019 13:50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]3[/TD]
[TD]22/06/2019 14:10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]456789123[/TD]
[TD]2[/TD]
[TD]21/06/2019 10:50[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]1[/TD]
[TD]22/06/2019 14:30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]2[/TD]
[TD]22/06/2019 12:10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]3[/TD]
[TD]23/06/2019 12:30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]1[/TD]
[TD]22/06/2019 12:50[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
I was thinking to combine a min, max function combined with countifs but i cant figure it out
in addition i am limited to excel 2013 and the datedif function doesnt seem to be included in this version.
I have a list of shipping numbers with piece numbers and date/time of first scan. Now i want to know when there is more then 1 hour between different piece numbers of the same shipping number (partial arrival).
As i have more then 100k rows i would like to find a formula in PowerQuery to reduce the stress on excel but all ideas are welcome!
the table should have following outcome.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Shipping number[/TD]
[TD]piece number[/TD]
[TD]first scan[/TD]
[TD]Partial arrival?[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]2[/TD]
[TD]22/06/2019 13:00[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]456789123[/TD]
[TD]1[/TD]
[TD]21/06/2019 10:00[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]4[/TD]
[TD]22/06/2019 13:50[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]3[/TD]
[TD]22/06/2019 14:10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]456789123[/TD]
[TD]2[/TD]
[TD]21/06/2019 10:50[/TD]
[TD]no[/TD]
[/TR]
[TR]
[TD]123456789[/TD]
[TD]1[/TD]
[TD]22/06/2019 14:30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]2[/TD]
[TD]22/06/2019 12:10[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]3[/TD]
[TD]23/06/2019 12:30[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]987654321[/TD]
[TD]1[/TD]
[TD]22/06/2019 12:50[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
I was thinking to combine a min, max function combined with countifs but i cant figure it out
in addition i am limited to excel 2013 and the datedif function doesnt seem to be included in this version.