+ Reply to Thread
Results 1 to 2 of 2

Transposing Horizontal to Vertical and keep one cell value

  1. #1
    Registered User
    Join Date
    11-12-2018
    Location
    New York
    MS-Off Ver
    10
    Posts
    19

    Transposing Horizontal to Vertical and keep one cell value

    Hello,
    I have been trying to transpose a bunch of data and cant seem to get it working properly.

    this is the raw data sheet 1.
    COL A | COL W | COL X | COL Y | COL Z |
    Item1 | result1 | result2 | result3 | result4 |
    Item2 | result1 | result2 | result3 | result4 |


    I need to transpose to this on a different sheet 2:
    COL A | COL B
    Item1 | result1
    Item1 | result2
    Item1 | result3
    Item1 | result4
    Item2 | result1
    Item2 | result2
    Item2 | result3
    Item2 | result4


    Transpose will not allow me to repeat the item number the 4x's down.

  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,726

    Re: Transposing Horizontal to Vertical and keep one cell value

    Assuming you have a header row in row 1 of your raw_data sheet, so that the data starts in row 2. put this formula in A2 of Sheet2:

    =INDEX(raw_data!A:A,INT((ROWS($1:1)-1)/4)+2)&""

    and this one in B2 of Sheet2:

    =INDEX(raw_data!$W:$Z,INT((ROWS($1:1)-1)/4)+2,MOD(ROWS($1:1)-1,4)+1)&""

    Copy these formulae down until you start to get blanks returned.

    Hope this helps.

    Pete

+ 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. [SOLVED] Transposing data from vertical to horizontal (INDEX/MATCH)
    By johnmitch38 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2015, 07:05 PM
  2. Transposing repeating vertical data to horizontal data but retaining unique values only
    By mgcarino14 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-06-2014, 12:57 AM
  3. [SOLVED] Transposing From Horizontal to Vertical with Intervals
    By zinkloride in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-13-2014, 06:11 AM
  4. Replies: 10
    Last Post: 12-11-2012, 06:08 PM
  5. Transposing Data from Horizontal to Vertical
    By OTexcel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2012, 08:28 PM
  6. Transposing vertical data sets to horizontal positions
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2011, 01:40 PM
  7. Replies: 5
    Last Post: 04-23-2010, 08:01 AM

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