fangfacekitty
Board Regular
- Joined
- Jul 28, 2010
- Messages
- 63
I am creating a list of all assigned document numbers for the company. The document numbers are assigned sequentially based on the components of the numbering system (Region-Dept-Document Type-XX). I want to automatically assign the document number to all new documents added to the list to prevent the duplication that will happen if I leave it to people to assign the number manually.
It's easy to concatenate the first 3 sections of the document number; where I am stumped is how to generate the next specific sequential number for the new document.
Example: Rows 2:7 already exist. My users want new forms in Europe and North America for the IT department, which should auto assign the document numbers EU-IT-F-02 (cell D8) and NA-IT-F-01 (cell D9) because this is the 2nd form created for Europe IT but the 1st form created for North America IT.
I've thought about using COUNTIF and adding 1 to the result to get the next sequential number but currently I have 200 unique combinations of the first 3 segments (region-dept-doc type), so this really doesn't seem workable.
Any ideas are greatly appreciated!
It's easy to concatenate the first 3 sections of the document number; where I am stumped is how to generate the next specific sequential number for the new document.
Example: Rows 2:7 already exist. My users want new forms in Europe and North America for the IT department, which should auto assign the document numbers EU-IT-F-02 (cell D8) and NA-IT-F-01 (cell D9) because this is the 2nd form created for Europe IT but the 1st form created for North America IT.
I've thought about using COUNTIF and adding 1 to the result to get the next sequential number but currently I have 200 unique combinations of the first 3 segments (region-dept-doc type), so this really doesn't seem workable.
Any ideas are greatly appreciated!
Last edited: