Hello, I am trying to figure out how to create a MAXIF Array function using duplicated value sums, and a known criteria value.
Example:
I have a shipment report that shows parts shipped down to a part and serial number. I need to summarize the data by part number showing only the largest shipment qty by part number. The report has duplicated lines for order number and part number due to the serial numbers. I need an array function that will sum all of the part numbers (known value) for each order number, and provide the max value. In the Table example, i would need Max for Part1 to be 5 (order one shipped 5) and Part2 to be 4 (order two shipped 4).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order Number[/TD]
[TD]Part Number[/TD]
[TD]Serial Number[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]12345[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]23456[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]34567[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45678[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]56789[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]67890[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]78901[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]89012[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]90123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]01234[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]98765[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]87654[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]76543[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]65432[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]54321[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]43210[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32109[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated.
Thanks!
Eric
Example:
I have a shipment report that shows parts shipped down to a part and serial number. I need to summarize the data by part number showing only the largest shipment qty by part number. The report has duplicated lines for order number and part number due to the serial numbers. I need an array function that will sum all of the part numbers (known value) for each order number, and provide the max value. In the Table example, i would need Max for Part1 to be 5 (order one shipped 5) and Part2 to be 4 (order two shipped 4).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Order Number[/TD]
[TD]Part Number[/TD]
[TD]Serial Number[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]12345[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]23456[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]34567[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]45678[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]56789[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]67890[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]78901[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]89012[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]90123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]01234[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]98765[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]87654[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]76543[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]65432[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part1[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]54321[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]43210[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][TABLE="width: 80"]
<tbody>[TR]
[TD="class: xl200, width: 80"]Part 2[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32109[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated.
Thanks!
Eric