Numbering new products in sequence

bigsi1984

New Member
Joined
Nov 28, 2013
Messages
30
Hello,

I am producing a list of patterns references and each pattern needs to have a unique reference.

Example pattern 1 is 100-1525/1525/8-001 and is made from a sheet of material 1525 x 1525 x 8 thick
100 = Denotes type of material
1525 = dimension 1
1525 = dimension 2
8 = thickness
001 = the specific pattern I can create from the above sized material.

The type of material and dimensions have individual columns and so I can concatenante them into the first part of my code; 100-1525/1525/8

My problem is that I have a lot of codes to produce and the sheet size 1525 x 1525 x 8 could produce 50 - 60 different patterns, but currently sits at producing around 12. I would like a way to automate the last part of the code so that excel can look at the list and know that the next pattern reference is, for example 100-1525/1525/8-002 without me having to double check that, 'oh yes, 002 is the next one in the sequence'.

This is compounded by the fact the the material size can change. For example it may become 2440 x 1220 x 15. So I would want this to begin at 001 and work the same way.

I hope this makes sense.
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Is this, copied down, what you mean?

If not, can you give us a bit more sample data, the expected results and any further clarification?

Excel Workbook
ABCDE
1
2100152515258100-1525/1525/8-001
32002000120010200-2000/1200/10-001
4100152515258100-1525/1525/8-002
5100152515258100-1525/1525/8-003
62002000120010200-2000/1200/10-002
71001525152510100-1525/1525/10-001
8100152515258100-1525/1525/8-004
Pattern numbers
 
Upvote 0
Is this, copied down, what you mean?

If not, can you give us a bit more sample data, the expected results and any further clarification?

Pattern numbers

ABCDE
1
2100152515258100-1525/1525/8-001
32002000120010200-2000/1200/10-001
4100152515258100-1525/1525/8-002
5100152515258100-1525/1525/8-003
62002000120010200-2000/1200/10-002
71001525152510100-1525/1525/10-001
8100152515258100-1525/1525/8-004

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:56px;"><col style="width:56px;"><col style="width:56px;"><col style="width:56px;"><col style="width:168px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
E2=A2&"-"&B2&"/"&C2&"/"&D2&TEXT(COUNTIFS(A$2:A2,A2,B$2:B2,B2,C$2:C2,C2,D$2:D2,D2),"-000")

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

This is absolutely perfect. Thank you!
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,208
Members
448,554
Latest member
Gleisner2

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