+ Reply to Thread
Results 1 to 4 of 4

transpose of 3 rows

  1. #1
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    transpose of 3 rows

    Hi

    I have a "strange" isue in the Greek forum and i need help on this.

    Op has 3 rows of data for the same person and needs to transpose all data for eatch person in a single row.

    Any idea?
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: transpose of 3 rows

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: transpose of 3 rows

    Thank you very mutch for this code but i know NOTHING at all, about VBA.

    So i don't use VBA or Macro in my worksheets.

    Let's hope that someone will have a formulae solution for this.

    Once again, Thank you.

  4. #4
    Valued Forum Contributor
    Join Date
    03-23-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1,093

    Re: transpose of 3 rows

    Hello there,

    I understand the hesitation with using VBA and macros as they can be hard to understand but with this kind of request it might be a little easier to just add the code once to your worksheet and then be done with it. If you'd like I've provided a code below that has comments explaining what each line of code does and then instructions on how to use it in your workbook.

    The code:

    Please Login or Register  to view this content.

    How to use it:

    1. Move the worksheet you would like to format so that it is the first worksheet in your workbook then Press Alt+F8 on your keyboard (this will bring up the macro window)
    2. Clear the macro name field and then type the word UniqueValues
    3. That will be the name for the macro you are creating
    4. Select the Create option
    5. In between the Sub UniqueValues( ) and End Sub copy and paste the above code I provided you.

    6. The entire code once you've copied and pasted should look like this:
    Please Login or Register  to view this content.
    6. Here, anything that appears in green is a comment meant to help you understand what the code it doing.
    7. Close out of the Visual Basic Window
    8. Press Alt+F8 on your keyboard
    9. This time select the UniqueValues macro and then select run.

    Let me know if this works for you, I understand if you still do not wish to use VBA.

    Thanks!

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: transpose of 3 rows

    See if this workbook helps, or at least gives you a start, I haven't fully checked it, you might get 0 returned if the original cell is blank.
    Attached Files Attached Files
    Last edited by Marcol; 08-16-2012 at 09:24 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: transpose of 3 rows

    @ rvasquez

    Thank you, FOR YOUR TIME AND YOUR EFFORD.! Your code and your instuctions are very good and i promise to study these! Good opportunity to start learning VBA!

    @ Marcol.

    I did not thought to use dates in row 2. Everything works Ok.Ilet you know if a have some other problem on this!

    Thank you!

+ 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