+ Reply to Thread
Results 1 to 4 of 4

With Ampersand Extracted from Multiple to a single Cell, HOW TO GET W LEADING ZERO?

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    With Ampersand Extracted from Multiple to a single Cell, HOW TO GET W LEADING ZERO?

    Hi this david,

    I have the following problem to solve..please need some advice

    (I have to Paste in a Daily Basis)
    in one Column there are Multiples Cell using 2 Digits (Col:I, R:8~R:41)

    Using Ampersand Function I Extracted 6 SETS of 18 Numbers in to 6 Diferent single Rows (Rows:C34, C35,C36,C37,C38 and C39)
    (each Row it's holding 18 numbers,I Added a Dash between each numbers)


    Everything get Copied with the Ampersand Function, But is not Copy the Leading ZERO,

    HOW CAN I ADDED THE LEADING ZERO?"

    1-. I ALREADY Went to Format Cell Property's and in Custom I Added double Zero's "00"

    2-. I ALREADY Set the Sow ZERO Values in Excel Setting (Show Zero Check mark Option)

    3-. I DON'T want to Use As i Text with the Aphostrophe ( ' ) Because i have to Paste the numbers Column
    on a daily basis.


    For example, in ROW C34 The Function that I Inserted is the Follow :
    Please Login or Register  to view this content.

    I PASTED THIS :

    09
    10
    12
    14
    36
    19
    26
    29
    31
    32
    08
    15
    20
    33
    01
    06
    02
    07



    IM getting this Output--> 9-10-12-14-36-19-26-29-31-32-8-15-20-33-1-6-2-7


    I need this Result ------> 09-10-12-14-36-19-26-29-31-32-08-15-20-33-01-06-02-07
    (with leading "0"




    Thank you !!!!


    Best Regards


    David

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: With Ampersand Extracted from Multiple to a single Cell, HOW TO GET W LEADING ZERO?

    Try this...

    Please Login or Register  to view this content.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: With Ampersand Extracted from Multiple to a single Cell, HOW TO GET W LEADING ZERO?

    =text(i8,"00")&"-"&text(i9,"00")&"-"&text(i10,"00")&"-"&text(i11,"00")&"-"&text(i12,"00")&"-"&text(i13,"00")&"-"&text(i14,"00")&"-"&text(i15,"00")&"-"&text(i16,"00")&"-"&text(i17,"00")&"-"&text(i18,"00")&"-"&text(i19,"00")&"-"&text(i20,"00")&"-"&text(i21,"00")&"-"&text(i22,"00")&"-"&text(i23,"00")&"-"&text(i24,"00")&"-"&text(i25,"00")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: With Ampersand Extracted from Multiple to a single Cell, HOW TO GET W LEADING ZERO?

    Thank you Mr AlphaFrog and Mr martindwilson ,

    Thanks Work great !!




    Best Regards

    David

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1