I started setting this out manually, which soon brought the pattern to mind.
The combinations of tooling pieces used matches the 1s of all the binary numbers from 000000001 to 111111111, Making construction of a spreadsheet table showing all of the combinations (and their lengths) fairly simple. Here are the top and bottom few rows of such a table. Formulas are listed below.

Row 1 is a header row.
D1 - L1: These contain the lengths of each length of tooling, from longest to shortest.
N1, O1: Labels showing what's in these columns.
Row 2: All formulas are entered into this row, then filled down to row 512, where the binary count in column B reaches 111111111 (511 base 10)
B2: =ROW()-1 Format as number, base 2, nine digits.
C2: =B&" " Converts the binary number in B to a to character string by appending a space to the end.
D2: =IF(MID($C,COLUMN()-3,1)="1",D$1,0)
MID() extracts a single character from the string in C
IF compares that character with "1". If they match, the number in row 1 is inserted in the cell, if they do not match, a zero is inserted.
D2: Fill this formula right to L2
M2: Empty. Used as a separator.
N2: =SUM(D2:L2) Totals the lengths of tooling in this row.
O2: =COUNTIF(N$2:N2,N2) Counts the number of times the length in column N has been listed from the top row of the table to here.
Conditional Formatting: Before filling these formulas down, apply the following format rules. The rules will be copied to the rest of the cells in the column(s) when you fill down.
Select D2-L2. Use these two rules:

The first changes the text colour to a light grey when the cell contains a zero. Use white if you want the zero to be invisible.
The second changes the cell fill to yellow if the cell contains a number greater than zero.
This is the rule that puts an orange-red fill in column O cells when the length in N duplicates one earlier in the list.

I will keep a copy of this table for a while.If you'd like it sent to you, let me know via email. Hover the mouse on my name to seel and select my address.
Note that the table may not be sorted in its current form.
Regards,
Barry