I build kitchen cabinets. I have to cut parts in many different lengths of various widths (green shaded) for each job, and every job will have many new lengths

In the form shown below, the gray shaded cells in column A is the number I assigned to each cabinet.

I entered the various lengths for this job in the blue shaded area in columns B - F.

The blue shaded areas in column H is all the various lengths in order from shortest to longest for this job.

The red shaded area in column I is the total number of parts for each length.

Is there a way set this form up so that columns H and I will automatically fill when I put new entries in columns B - F?