Thanks, it's very simple and easyHi !
B2 formula : =LEFT(A2,SEARCH("0",A2)-1)
Copy down …
Thanks alot for this. It works very wellFurther to Marc's proposal, if the 1st digit not always 0, try this in B2 and copied down:
=LEFT(A2,MIN(FIND({0,1,2,3,4}+{0;5},A2&1/17))-1)
Regards
Bosco