Hi guys,
could really use some help creating a complicated Indices file.
i am attempting to count the number of setup events for a given machine.
my Indices are setup in one tab, and all the data in a second tab.
the data tab is built as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Machine[/TD]
[TD]Date[/TD]
[TD]Order Number[/TD]
[TD]Event[/TD]
[TD].......[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
usual this would be simple counting the number of "Setup" events for any Given Machine, however i have duplicates due to improper data input or workers taking a break during a setup (event number 5) and the resuming a setup.
I need to be able to count the number of "2" events corresponding to two unique identifiers, "Order Number" and "Machine".
keep in mind these are large files with several thousand entry's....
for example: (Filtered for machine AM-21)
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]AM-21[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98771[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]AM-21[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98771[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98736[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
(1-Work, 2-SU, 5-Break)
in this example only the highlighted rows should be counted (3).
Also counting the number of unique Order numbers is not a good indicate as some orders don't have setups.
could really use some help creating a complicated Indices file.
i am attempting to count the number of setup events for a given machine.
my Indices are setup in one tab, and all the data in a second tab.
the data tab is built as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Machine[/TD]
[TD]Date[/TD]
[TD]Order Number[/TD]
[TD]Event[/TD]
[TD].......[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
usual this would be simple counting the number of "Setup" events for any Given Machine, however i have duplicates due to improper data input or workers taking a break during a setup (event number 5) and the resuming a setup.
I need to be able to count the number of "2" events corresponding to two unique identifiers, "Order Number" and "Machine".
keep in mind these are large files with several thousand entry's....
for example: (Filtered for machine AM-21)
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]AM-21[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98771[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]AM-21[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98771[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A98736[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD][TABLE="width: 113"]
<tbody>[TR]
[TD="width: 113, align: left"]A97202[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]AM-21[/TD]
[TD]27/10/2014[/TD]
[TD]A094449[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
(1-Work, 2-SU, 5-Break)
in this example only the highlighted rows should be counted (3).
Also counting the number of unique Order numbers is not a good indicate as some orders don't have setups.