+ Reply to Thread
Results 1 to 6 of 6

Transpose multiple values and delete rows?

  1. #1
    Registered User
    Join Date
    09-13-2010
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    2

    Transpose multiple values and delete rows?

    Hi,

    I have a large spreadsheet (several thousand lines) in Excel 2007 that is in the format:

    A 0.66
    A 0.77
    A 0.88
    B 0.44
    B 0.33
    C 0.55
    C 0.66
    C 0.88
    C 0.99
    C 0.44

    Column 1 variables may be anything from single values to 20+

    I need it in the format:

    A 0.66 0.77 0.88
    B 0.44 0.33
    C 0.55 0.66 0.88 0.99 0.44

    Currently i am manually copying, paste special and transposing the values from the same column 1 so they are all in a single row for each value then selecting all the duplicate rows with single values and deleting them (move rows up). This is very time consuming and prone to errors.

    Any help to automate this would be greatly appreciated, thank you.

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Transpose multiple values and delete rows?

    Hi Daeve
    Welcome to the forum
    This is a very popular question. If you search the forum you will find many different answers. one way....
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    09-13-2010
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Transpose multiple values and delete rows?

    Hi Pike,

    That's great, thanks - it does exactly what I need it to do! I did try a search on "transpose" and read a few pages of threads, but I didn't see the exact same problem (usually they were slightly more complex). Many thanks for your patience.

  4. #4
    Registered User
    Join Date
    10-12-2010
    Location
    Birmania
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Transpose multiple values and delete rows?

    Thank you very much for the reply. It works perfectly.
    But one more question: Do you think is there any function that enables you to do the opposite?

    I mean, we have a list like:
    emai1l@address.com A1 A2 A3
    emai2l@address.com A4 A5
    emai3l@address.com A2 A3 A5
    ...................

    And the output should be
    emai1l@address.com A1
    emai1l@address.com A2
    emai1l@address.com A3
    emai2l@address.com A4
    emai2l@address.com A5
    emai3l@address.com A2
    emai3l@address.com A3
    emai3l@address.com A5

    I've trying to add a special character between A1 ~ A2 and then paste in word, replace ~ by a manual line break, then copy all back to excel, control + g, special, blanks, spaces, = control up... etc.

    Any solution should be first class as usual.

    Best regards.

  5. #5
    Registered User
    Join Date
    04-02-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Transpose multiple values and delete rows?

    Hi,
    Can u help me to know how to utilize this above program in excel to transpose columns.I shall be thankful to you.
    Last edited by arlu1201; 04-02-2013 at 08:06 AM.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Transpose multiple values and delete rows?

    Shashi,

    Do not post your email id, you will be flooded with spam emails.

    Also,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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