+ Reply to Thread
Results 1 to 6 of 6

Transpose value in every other column cell to a row

  1. #1
    Registered User
    Join Date
    10-07-2014
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    3

    Transpose value in every other column cell to a row

    Hi,

    I'm working with a spreadsheet that is exported with poor formatting and I'm looking for a way to transpose every other cell in a column up on unit and right one unit (i.e. going from G3 to H2 then skip G4 and do it again on G5). I've looked all over other forums for a VBA that would work on this but the solutions that I've ended up with haven't done it correctly.


    I'm hoping for it to go from this:

    sheet1.png

    To this:

    sheet2.png

    Thanks for the help!
    Attached Images Attached Images

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transpose value in every other column cell to a row

    Hi and welcome to the forum.

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context. Not many of us are willing to recreate your workbook for testing purposes when you have one available.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-07-2014
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    3

    Re: Transpose value in every other column cell to a row

    Richard,

    Thank you for letting me know.

    Here is an excel file with a sheet that depicts how the data is in its current state (Initial Data) and another sheet that shows what I'm trying to achieve (Desired Output). The action that I'm looking to do is to move the cell contents from G3 to H4, G5 to H5, G7 to H7 - and so forth.

    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transpose value in every other column cell to a row

    Hi,

    Assuming you have copied The initial Data to the Desired Output then on the Desired Output

    I2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    J2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    both copied down.

  5. #5
    Registered User
    Join Date
    10-07-2014
    Location
    Denver, CO
    MS-Off Ver
    2010
    Posts
    3

    Re: Transpose value in every other column cell to a row

    Fantastic! That worked - thank you so much!

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transpose value in every other column cell to a row

    My pleasure.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to transpose values in column B horizontally until next blank cell
    By boothhm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-21-2015, 03:39 AM
  2. How to transpose column to cell ?
    By pcexpertq8 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-11-2014, 09:58 PM
  3. Replies: 2
    Last Post: 01-29-2014, 09:50 AM
  4. Transpose values from column to rows (one cell) with conditions
    By zeko90 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2013, 08:21 AM
  5. [SOLVED] Transpose Mail Merge (Row to Column) based on Blank Cell
    By jfsportz in forum Excel General
    Replies: 3
    Last Post: 08-19-2012, 07:09 AM

Tags for this Thread

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