Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to convert a row of No's (eg 123) to ean 8 format (00000123)
Any ideas |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi
assuming the numbers are in column A..something like this might work.... in a blank column off to the left.... ="00000" & A2 copy(drag) down as far as needed. you can then copy the helper column and paste special value over the original data. or archive it just in case. regards FSt1 "pdb" wrote: I need to convert a row of No's (eg 123) to ean 8 format (00000123) Any ideas |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use custom formatting for the cells
FomatCell then choose Custom in the Category list and in the Type textbox put 00000000 (8-zeros) then click OK. Paul "pdb" wrote in message ... I need to convert a row of No's (eg 123) to ean 8 format (00000123) Any ideas |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=TEXT(A1,"00000000")
-- David Biddulph "pdb" wrote in message ... I need to convert a row of No's (eg 123) to ean 8 format (00000123) Any ideas |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
David's one would be my preferred one but here's just another example: =RIGHT(REPT(" ",8)&A1,8) Regards, Bernd |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did you mean that, Bernd, or did you intend to say =RIGHT(REPT(0,8)&A1,8) ?
-- David Biddulph Bernd P wrote: Hello, David's one would be my preferred one but here's just another example: =RIGHT(REPT(" ",8)&A1,8) Regards, Bernd |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi David,
Neither, I meant =RIGHT(REPT("0",8)&A1,8) But thanks, of course you saw that :-) Regards, Bernd PS: Would it really work your way? REPT(0,8)? |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, it would.
-- David Biddulph Bernd P wrote: Hi David, Neither, I meant =RIGHT(REPT("0",8)&A1,8) But thanks, of course you saw that :-) Regards, Bernd PS: Would it really work your way? REPT(0,8)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to convert numbers and delete leading zeros | Excel Discussion (Misc queries) | |||
Leading zeros won't convert to csv file in Excel ver 6 SP2 | Excel Discussion (Misc queries) | |||
save text field w/ leading zeros in .csv format & not lose zeros? | Excel Discussion (Misc queries) | |||
Leading zeros | Excel Discussion (Misc queries) | |||
Adding Leading Zeros to Text | Excel Discussion (Misc queries) |