I've been busy working on this, and through my work, I can better explain my objective.
I have a list of shipments that vary in size. I need to count the shipments and total the units per shipment by a pound/unit range. The Steps go from 1 to 10 and then in increments of 5 above 10. If a shipment has the exact amount of units in a step it is counted in that step, but if it's even one over, it is counted in the following step.
My first for statements creates the table and embedded in there is another for loop that cycles through the shipments to see add/count the values to the current step.
My code is sloppy because I'm pretty much going off logic and code pulled off the recorder.
The way i'm testing the shipment set is a little backwards, but it's the only way i could figure out right now. I'm currently getting an overflow error when I run the script.
Bookmarks