+ Reply to Thread
Results 1 to 4 of 4

Changing entries from horizontal to vertical

  1. #1
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Changing entries from horizontal to vertical

    I have a list with entries in one column like this:

    sourceText
    empty cell
    targettext

    sourceText2
    category2
    targettext 2


    and I want to change it like this:

    sourceText empty cell target text
    sourceText2 category2 target text 2


    Attached sample data. Sheet one as it is. Sheet 2 as I want them to be (I don't need any of the formatting in Sheet 2).
    Attached Files Attached Files
    Last edited by greek; 10-29-2009 at 06:27 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Changing entries from horizontal to vertical

    Could you not use copy, paste special and select transpose?

  3. #3
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Changing entries from horizontal to vertical

    That puts all the data in one row... like this:

    sourceText empty cell target text sourceText2 category2 target text 2 [...]

    Tried this
    http://support.microsoft.com/kb/214024

    but it gave me an error (The formula you typed contains an error).
    Last edited by greek; 10-29-2009 at 05:52 PM.

  4. #4
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Greece
    MS-Off Ver
    Office 365
    Posts
    133

    Re: Changing entries from horizontal to vertical

    Solution found, I replaced commas with ; in that formula and it worked.

    =OFFSET($A$1;(ROW()-1)*4+INT((COLUMN()-3));MOD(COLUMN()-3;1))
    Last edited by greek; 10-29-2009 at 06:33 PM.

+ 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