+ Reply to Thread
Results 1 to 5 of 5

Transferring a column of numbers to a vertical string

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    scotland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Red face Transferring a column of numbers to a vertical string

    Hi
    I'm new here and had a little scoot about but couldn't see a topic relating to my issue.

    I have a column of numbers that i need to change to a single row of numbers split with a ";"

    EG

    Column A

    12345
    67890
    21234
    31234
    41234

    Needs to be:

    12345; 67890; 21234; 31234; 41234

    I had thought transpose would sort this but it doesn't... it gives me one set of numbers per cell in a row rather than all numbers in one cell.

    any help you can give would be awesome!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Transferring a column of numbers to a vertical string

    A simple way is to put this formula in B1:

    =A1

    then put this formula in B2:

    =B1 &"; " & A2

    then copy this down as far as you need to - a quick way is to select B2 then double-click the fill handle (the small black square in the bottom right corner of the cursor). Your composite string will be in the bottom cell, but you could have it in C1 (for example) by using this formula there:

    =INDEX(B:B,COUNTA(B:B))

    Hope this helps.

    Pete
    Last edited by Pete_UK; 10-24-2012 at 11:05 AM. Reason: cells wrong way round

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Transferring a column of numbers to a vertical string

    How about a UDF (Thank you Google!):
    Please Login or Register  to view this content.
    If your range of numbers is in column A, then in B1 enter: =concat(A:A)

  4. #4
    Registered User
    Join Date
    10-24-2012
    Location
    scotland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Transferring a column of numbers to a vertical string

    Thx for ur help guys! Outstanding! Really quick responses too. I am a happy bunny now!!!

    Thx
    Shellz x

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Transferring a column of numbers to a vertical string

    Here's another UDF.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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