This formula works perfectly,=IF(LEN(F15)=4,"GHJ1500"&F15,IF(LEN(F15)=3,"GHJ15000"&F15,IF(LEN(F15)=2,"GHJ150000"&F15,IF(LEN(F15)=1,"GHJ1500000"&F15,"Error"))))
Or just apply this custom format on the cell C15.Or,
=C15
>> Custom Cell Format, enter: "GHJ"15000000
all copied down
Regards
Bosco
Don't you just love Excel for offering all these possibilities?Beauty of Excel.
=REPLACE("GHJ000000",10-LEN(F15),LEN(F15),F15)