Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Feb 2002
    Location
    Philadelphia, Pennsylvania
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Concatenating (2000/9.0.4402 SR-1)

    I have a column containing text data where there are spaces between the data that I would like to concatenate. Here is an example: Currently, the data is represented as R 2 I would like to have the spaces removed to end up with R2 Can anyone help? I have researched using the TRIM and CONCATENATE functions but don't think they will help. Thanks!

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Concatenating (2000/9.0.4402 SR-1)

    If A1 contains the string "a bc 123" and you want "abc123" use =SUBSTITUTE(A1," ","").

    =TRIM() cleans up only leading, trailing and turns multiple in-line spaces to a single space such that
    =TRIM( " a bc 123 ") will return "a bc 123" .
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    Silver Lounger GARYPSWANSON's Avatar
    Join Date
    Aug 2001
    Location
    Frederick, Maryland, USA
    Posts
    1,788
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Concatenating (2000/9.0.4402 SR-1)

    ... You could just highlight the entire column, Select Control H (for search and replace). In the Find What, insert a space. Do not do anything to the Replace With and select replace all. All spaces will be removed from all cells within the column.
    Regards,

    Gary
    (It's been a while!)

Posting Permissions

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