Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Concatenate (2000)

    I have 2 columns of numbers - for instance:
    44985 52
    47742 75
    47990 25
    49086 49
    55936 75

    In column C I have the formula - =concatenate(A1,B1) - That works fine.
    Then I do a copy and paste special for values only to get rid of the formula.
    Now I want to put a leading 0 in front of the numbers. I usually do a custom format ("0"#) but it doesn't work. I have tried everything.
    Probably something simple that I am missing.

  2. #2
    Star Lounger
    Join Date
    Feb 2003
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Concatenate (2000)

    Try,

    ="0"&A1&""&B1

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Concatenate (2000)

    The Concatenate function returns a character string, not a numeric value, and when you copy and paste special that string you still end up with a string. If you want that to be a string, then you will have to concatenate a string "0" to the front of the resulting string. Formating a cell containing a string does nothing. If you want to use formating to add the zero, then you will need to convert the strings to numeric values. You can do that by selecting the cells and then selecting "Text to columns" from the Data menu. Then click on Finish in the dialog box.
    Legare Coleman

Posting Permissions

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