Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Concatenate column with leading zeros

I need to create a column with the entire UPC code of each item listed in
the item column, but when I concatenate the columns to form the UPC the
leading zeros in the UPC item colun are dropped.

I sthere a way around this?

Thanks in advance




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Concatenate column with leading zeros

In A1:B1 I have text and number
apple 245 apple 000245
The formula in C1 is =A1&" "&TEXT(B1,"000000")
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters

REMEMBER: Microsoft is closing the newsgroups; We will all meet again at
http://answers.microsoft.com/en-us/o...ult.aspx#tab=4

"Dick Stapleton" wrote in message
...
I need to create a column with the entire UPC code of each item listed in
the item column, but when I concatenate the columns to form the UPC the
leading zeros in the UPC item colun are dropped.

I sthere a way around this?

Thanks in advance


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
Concatenate with leading zeros Nikki Excel Worksheet Functions 2 August 4th 08 11:05 PM
How can I concatenate text with leading zeros Dick Excel Worksheet Functions 2 January 31st 08 06:36 PM
Padding a text column with leading zeros Chris Excel Discussion (Misc queries) 6 October 29th 07 10:45 PM
How do I retain leading zeros in a column of numbers when file op vontzy Excel Discussion (Misc queries) 6 January 10th 07 10:13 AM
Remove leading zeros from column Rich K. Excel Discussion (Misc queries) 2 January 2nd 07 09:43 PM


All times are GMT +1. The time now is 12:27 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"