Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Mix text and numbers with leading zeros

Good morning,
Trying to create barcodes by putting text (W0410) plus 08, plus a five digit
number beginning with 000001 and incrementing by 1. The leading zeros should
display. The result of the first cell should be W0410 08 000001. The result
of the second cell should be W0410 08 000002. I will need 1,000 so the last
cell should be W0410 08 001000
Formula so far is
=AZCode&" 08 "&CodeStart with AZCode=W0410 and CodeStart being 000000. I
don't know how to increment it and how to not loose the leading zeros.
Thank you,
Susan



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Mix text and numbers with leading zeros

=AZCode&" 08 "&TEXT(ROW(),"000000")
--
David Biddulph

"Susan B" wrote in message
...
Good morning,
Trying to create barcodes by putting text (W0410) plus 08, plus a five
digit
number beginning with 000001 and incrementing by 1. The leading zeros
should
display. The result of the first cell should be W0410 08 000001. The
result
of the second cell should be W0410 08 000002. I will need 1,000 so the
last
cell should be W0410 08 001000
Formula so far is
=AZCode&" 08 "&CodeStart with AZCode=W0410 and CodeStart being 000000. I
don't know how to increment it and how to not loose the leading zeros.
Thank you,
Susan





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Mix text and numbers with leading zeros

="W0410 08 "&TEXT(ROWS($1:1),"000000")

copy down as far as needed



"Susan B" wrote:

Good morning,
Trying to create barcodes by putting text (W0410) plus 08, plus a five digit
number beginning with 000001 and incrementing by 1. The leading zeros should
display. The result of the first cell should be W0410 08 000001. The result
of the second cell should be W0410 08 000002. I will need 1,000 so the last
cell should be W0410 08 001000
Formula so far is
=AZCode&" 08 "&CodeStart with AZCode=W0410 and CodeStart being 000000. I
don't know how to increment it and how to not loose the leading zeros.
Thank you,
Susan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Mix text and numbers with leading zeros

They both work wonderfully (I actually used a combination of each).

Thank you so much.

Susan

"Teethless mama" wrote:

="W0410 08 "&TEXT(ROWS($1:1),"000000")

copy down as far as needed



"Susan B" wrote:

Good morning,
Trying to create barcodes by putting text (W0410) plus 08, plus a five digit
number beginning with 000001 and incrementing by 1. The leading zeros should
display. The result of the first cell should be W0410 08 000001. The result
of the second cell should be W0410 08 000002. I will need 1,000 so the last
cell should be W0410 08 001000
Formula so far is
=AZCode&" 08 "&CodeStart with AZCode=W0410 and CodeStart being 000000. I
don't know how to increment it and how to not loose the leading zeros.
Thank you,
Susan



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 and Phone numbers mad_dad Excel Worksheet Functions 2 June 7th 08 01:44 PM
Sort "text" numbers with and without leading zeros as numbers T.K. Excel Discussion (Misc queries) 1 February 10th 08 04:19 PM
How do you delete leading zeros from numbers? emronexcel Excel Discussion (Misc queries) 2 March 21st 07 11:00 PM
sort numbers leading zeros l smith Excel Discussion (Misc queries) 2 June 8th 05 02:05 AM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


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