Dear Sir,
I have applied this formula to get the unique code.There is a correct result everywhere but where the result is coming 8 and 9 from counta formula or where the result is coming 98 and 99 from counta formula.he is coming result wrong,i want total 6 digit unique code from this formula.
also i attached the sheet.
pls suggest if you want to apply some different formula.
kindly help me..
Thank you.
=A&LEFT(C2,1)&IF(COUNTA($C$1:$C2,C2)>999,"",IF(COUNTA($C$1:$C2,C2)>99,"0",IF(COUNTA($C$1:$C2,C2)>9,"00","000")))&COUNTA($C$1:$C2)-1
FORMULA-2-001 (1).jpg
Bookmarks