jurquhart

New Member
Joined
Dec 3, 2012
Messages
2
Say I am trying to create a bill of materials list that generates, sorts and numbers according to pushbutton clicks after the user selects the vlookup values provided in a data set list of a drop down menu.

After I have randomly created these values I can add them to the bill, then sort them according to their numbering using a basic A-->Z sort, however I am struggling with trying to create a numbering and spacing system for these newly generated rows and parts with descriptions

Based off the 13th character in the part description I can pull out a sortable number, however I still need to number the parts using a start point of 1.1

so if I were to have 4 beams with the description:

-S4 X 7.7
-S5 X 10
-S6 X 12.5
-S6 X 17.25

I could number them accordingly:

SB1.1
SB2.1
SB3.1
SB3.2

and if i were to have another set of 4 beams with the description:

-S4 X 7.7 cs
-S4 X 9.5 ss
-S5 X 10 cs
-S5 X 10 ss

I want to sort it as the following:

-SB1.1
-SB1.2
-SB2.1
-SB2.2


Any thoughts on how I could do this?

I have tried value(mid(...) to work, but I am still not quite there, once I can figure out how to consistantly number them then I can code the macro portion of it to do a vlookup based on the number of rows added.

but in the meantime, any thoughts? I would really appreciate your help.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,767
Messages
6,126,767
Members
449,336
Latest member
p17tootie

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top