Hi @Matthew_Chua,
welcome to Airtable community!
To do your process my recommendation is to apply the following steps:
- Create an autonumber field {autonumber}
- Create a formula field by where you have to calculate the length of the autonumber
LEN(CONCATENATE(autonumber,""))
The step 2 will convert the number value in to text so you can count the length by the Len() function. You need this because your serial number has 4 numerical digits
3. Create a formula that will generate the serial number based n the length of the autonumber. For better system efficiency I recommend to use SWITCH() formula:
SWITCH(number_length,1,"A000"&autonumber,2,"A00"&autonumber,3,"A0"&autonumber,4,"A"&autonumber)
Please try this and text us back if it worked
Thanks.
Dimitris Goudis
Hi @Matthew_Chua,
welcome to Airtable community!
To do your process my recommendation is to apply the following steps:
- Create an autonumber field {autonumber}
- Create a formula field by where you have to calculate the length of the autonumber
LEN(CONCATENATE(autonumber,""))
The step 2 will convert the number value in to text so you can count the length by the Len() function. You need this because your serial number has 4 numerical digits
3. Create a formula that will generate the serial number based n the length of the autonumber. For better system efficiency I recommend to use SWITCH() formula:
SWITCH(number_length,1,"A000"&autonumber,2,"A00"&autonumber,3,"A0"&autonumber,4,"A"&autonumber)
Please try this and text us back if it worked
Thanks.
Dimitris Goudis
Doesnt work, any more suggestions?