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:

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
42,672
Office Version
365
Platform
Windows
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
 

bigsi1984

New Member
Joined
Nov 28, 2013
Messages
30
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!
 

Forum statistics

Threads
1,085,546
Messages
5,384,375
Members
401,892
Latest member
martyg

Some videos you may like

This Week's Hot Topics

Top