Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default How can I concatenate text with leading zeros

When I concatenate a number with leading zeros, the zeros are removed. How
can I retain them?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default How can I concatenate text with leading zeros

Dick wrote:
When I concatenate a number with leading zeros, the zeros are removed. How
can I retain them?


Dick,

Try & TEXT(A1,"00000") when concatenating?

Beege
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How can I concatenate text with leading zeros

If the numbers have leading zeros they are already text so should not drop the
zeros.

Unless, of course, the numbers are just formatted to show leading zeros.

In that case =TEXT(G7,"000000")&TEXT(G8,"000000")


Gord Dibben MS Excel MVP

On Thu, 31 Jan 2008 09:11:01 -0800, Dick wrote:

When I concatenate a number with leading zeros, the zeros are removed. How
can I retain them?


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
TEXT TO COLUMNS WITH LEADING ZEROS Peggy Excel Discussion (Misc queries) 6 April 27th 23 03:45 AM
leading zeros in text format BigBrook Excel Discussion (Misc queries) 5 December 11th 08 08:00 PM
Padding a text column with leading zeros Chris Excel Discussion (Misc queries) 6 October 29th 07 10:45 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM
Adding Leading Zeros to Text Jenn Excel Discussion (Misc queries) 4 January 12th 05 06:51 PM


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

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"