Hello,
Would it be possible to modify the code in
Reply #18 to require a 2nd input in cell B for an order number? The code would then look up both the name and order number and apply the same logic to fill in the in/out portion? If no match between the two, it would add Name and Order to the first blank cell in Columns A and B respectively.
A finished table for the day might look like this.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Order[/TD]
[TD]Time Out[/TD]
[TD]Time In[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]092617-1[/TD]
[TD="align: right"]9/26/2017 11:32[/TD]
[TD="align: right"]9/26/2017 14:31[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]092617-2[/TD]
[TD="align: right"]9/26/2017 11:33[/TD]
[TD="align: right"]9/26/2017 14:45[/TD]
[/TR]
[TR]
[TD]Jake[/TD]
[TD]092617-3[/TD]
[TD="align: right"]9/26/2017 11:33[/TD]
[TD="align: right"]9/26/2017 12:55[/TD]
[/TR]
[TR]
[TD]Jeff[/TD]
[TD]092617-4[/TD]
[TD="align: right"]9/26/2017 11:34[/TD]
[TD="align: right"]9/26/2017 15:15[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD]092617-3[/TD]
[TD="align: right"]9/26/2017 12:56[/TD]
[TD="align: right"]9/26/2017 14:50[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]092617-5[/TD]
[TD="align: right"]9/26/2017 14:32[/TD]
[TD="align: right"]9/26/2017 18:22[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]092617-6[/TD]
[TD="align: right"]9/26/2017 14:46[/TD]
[TD="align: right"]9/26/2017 18:44[/TD]
[/TR]
[TR]
[TD]Jack[/TD]
[TD]092617-7[/TD]
[TD="align: right"]9/26/2017 14:51[/TD]
[TD="align: right"]9/26/2017 18:42[/TD]
[/TR]
[TR]
[TD]Jeff[/TD]
[TD]092617-8[/TD]
[TD="align: right"]9/26/2017 15:17[/TD]
[TD="align: right"]9/26/2017 16:41[/TD]
[/TR]
[TR]
[TD]Jason[/TD]
[TD]092617-9[/TD]
[TD="align: right"]9/26/2017 17:00[/TD]
[TD="align: right"]9/26/2017 21:02[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]092617-8[/TD]
[TD="align: right"]9/26/2017 17:00[/TD]
[TD="align: right"]9/26/2017 19:10[/TD]
[/TR]
[TR]
[TD]Jordan[/TD]
[TD]092617-10[/TD]
[TD="align: right"]9/26/2017 17:02[/TD]
[TD="align: right"]9/26/2017 21:22[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]092617-11[/TD]
[TD="align: right"]9/26/2017 19:15[/TD]
[TD="align: right"]9/26/2017 22:58[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help!