Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
goldilocks
 
Posts: n/a
Default How do I insert leading zeros?

I have split apart date and time and need to add leading zeros so when I
concenate(SP) that it will add correctly.
I need real detailed instructions as I am a newby.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.newusers
daddylonglegs
 
Posts: n/a
Default How do I insert leading zeros?


If you want to create one cell showing date and time from a date in A1
and time in B1 you can just add the 2, i.e.

=A1+B1

use

CellsFormatNumberCustom and format as desired e.g.

m/d/yy hh:mm AM/PM


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=522369

  #3   Report Post  
Posted to microsoft.public.excel.newusers
wjohnson
 
Posts: n/a
Default How do I insert leading zeros?


You shouldn't need to have "leading zero's"
Example
Cell A1 23
Cell A2 23000
Cell A3 23023
If you want to "SPLIT" your data and you need "leading zero's" to be
able to align your text correctly - change your column to 'TEXT' and
then you can add leading zero's - otherwise EXCEL will delete them.
What you might try also to "align" your text to be able to split it is
- Select your Column and then "RIGHT JUSTIFY" the TEXT - The right
justify is on the MENU BAR as an icon. Be sure you also use the COURIER
FONT - then you can see how things "really" line-up.


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.excelforum.com/member.php...o&userid=29640
View this thread: http://www.excelforum.com/showthread...hreadid=522368

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
Leading Zeros Karen Excel Discussion (Misc queries) 3 January 10th 06 09:50 PM
Spliting a number with leading zeros haitch2 Excel Discussion (Misc queries) 7 September 30th 05 12:09 AM
How do I force leading zeros in an Excel cell? EricKei Excel Discussion (Misc queries) 2 June 15th 05 08:28 PM
Leading zeros Paul Excel Discussion (Misc queries) 4 June 12th 05 04:04 AM
Insert Leading Zeros hkslater Excel Worksheet Functions 7 November 16th 04 11:28 PM


All times are GMT +1. The time now is 06:05 AM.

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"