Can someone help me get a way to generate ID's by avoiding duplicates and permanent values, unless changed manually.
Lets say I have:
<tbody>
</tbody>
I wrote column F, but my need is to populate automatically this column with a formula.
The formula must:
- renew numbering each time that any of the first 5 characters change; look at the sequence above, 0001, 0002, 0003 then on new characters it initiates again on 0001.
- Formula must not allow duplicate ID'S
- It would be ideal if the the formula can display the following sequenced number or those values that have been erased or moved because the status of the property changed.
- values must be permanent once inserted, it would be interconnected with other sheets and perhaps other software, so values can not be changed if a new row is inserted.
The above criteria will solve my needs, i will appreciate a lot if somebody has the knowledge of providing this formula to me.
Best regards,
Oliver
Lets say I have:
A | B | C | D | E | F | |
1 | Country | State | City | Submarket | Use | ID |
2 | Mexico | Baja California | Tijuana | Florido | Industrial | MBTFI-0001 |
3 | Mexico | Baja California | Tijuana | Florido | Industrial | MBTFI-0002 |
4 | Mexico | Baja California | Tijuana | Pacifico | Industrial | MBTPI-0001 |
5 | Mexico | Baja California | Tijuana | Pacifico | Industrial | MBTPI-0002 |
6 | Mexico | Baja California | Tijuana | Pacifico | Comercial | MBTPC-0001 |
7 | Mexico | Baja California | Tijuana | Pacifico | Retail | MBTPR-0001 |
8 | Mexico | Baja California | Tijuana | Pacifico | Retail | MBTPR-0002 |
9 | Mexico | Baja California | Tijuana | Pacifico | Retail | MBTPR-0003 |
10 | USA | California | San Diego | Otay | Retail | UCSOR-0001 |
11 | USA | California | San Diego | Otay | Retail | UCSOR-0002 |
12 | USA | California | San Diego | Otay | Retail | UCSOR-0003 |
13 | Bolivia | Capital | La Paz | Centro | Industrial | BCLCI-0001 |
14 | Bolivia | Capital | La Paz | Centro | Industrial | BCLCI-0002 |
<tbody>
</tbody>
I wrote column F, but my need is to populate automatically this column with a formula.
The formula must:
- renew numbering each time that any of the first 5 characters change; look at the sequence above, 0001, 0002, 0003 then on new characters it initiates again on 0001.
- Formula must not allow duplicate ID'S
- It would be ideal if the the formula can display the following sequenced number or those values that have been erased or moved because the status of the property changed.
- values must be permanent once inserted, it would be interconnected with other sheets and perhaps other software, so values can not be changed if a new row is inserted.
The above criteria will solve my needs, i will appreciate a lot if somebody has the knowledge of providing this formula to me.
Best regards,
Oliver