#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Excel Formatting

I have 2 sets of data/columns that I'm formatting to show 7 digits (e.g. 5240
becomes 0005420). I'm concatenating this with another column of 1-3 digits
but when I concatenate I'm loosing the leading zeros which I still need (the
# becomes 15240 instead of 10005240). Any ideas of how I can get the leading
zero's to stay? Thx.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Excel Formatting

=text(A1,"0000000") & text(B1,"0000000")
Bob Umlas
Excel MVP

"Darin" wrote:

I have 2 sets of data/columns that I'm formatting to show 7 digits (e.g. 5240
becomes 0005420). I'm concatenating this with another column of 1-3 digits
but when I concatenate I'm loosing the leading zeros which I still need (the
# becomes 15240 instead of 10005240). Any ideas of how I can get the leading
zero's to stay? Thx.


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
Saving Excel 2007 conditional formatting in Excel 2003 format [email protected] Excel Discussion (Misc queries) 0 March 28th 08 06:42 AM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


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

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

About Us

"It's about Microsoft Excel"