Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default How to avoid value losing zero in front of digits??

I have a column D formated to 12 digit so that the values that have 11 digit
have 0 added in front of them to make them 12 digit.

Then I applied another formula ="01KF9H"&D.. in order to 01KF9H in front of
the 12 digits values in the column. When I copied the formula, I notice that
those digits with 0 in front of them lost the 0 and turned back to 11
digits. How do i make that column keep all the 12 digits values when adding
the new formula?

Please teach me.
Sincerely,
--
capxc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to avoid value losing zero in front of digits??

="01KF9H"&text(d1,"000000000000")
or
="01KF9H"&text(d1,rept(0,12))



capxc wrote:

I have a column D formated to 12 digit so that the values that have 11 digit
have 0 added in front of them to make them 12 digit.

Then I applied another formula ="01KF9H"&D.. in order to 01KF9H in front of
the 12 digits values in the column. When I copied the formula, I notice that
those digits with 0 in front of them lost the 0 and turned back to 11
digits. How do i make that column keep all the 12 digits values when adding
the new formula?

Please teach me.
Sincerely,
--
capxc


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize number to 10 digits including 2 digits after deci Carina Excel Worksheet Functions 3 September 20th 07 02:50 AM
Losing the #DIV/0! mevetts Excel Worksheet Functions 4 January 8th 06 09:34 PM
what is this, how do I avoid it? datadude1959 Excel Discussion (Misc queries) 2 September 29th 05 06:05 PM
adding digits to front/end of fax numbers Luke Excel Discussion (Misc queries) 2 April 27th 05 11:35 PM
Using a IF formula, I would like to drop the 2 digits in front of. osuhoosier Excel Discussion (Misc queries) 2 January 6th 05 08:21 PM


All times are GMT +1. The time now is 02:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"