+ Reply to Thread
Results 1 to 9 of 9

Formula to transpose rows to new columns and columns to new rows in Excel

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Formula to transpose rows to new columns and columns to new rows in Excel

    I have a table where the month and year heading are setup as rows and the product heading setup as column (column C through L). I would like a formula to transpose year and month into the new headings for the new table while the product list is will be the new row. I think the combination of index, column and some other excel functions can achieve this task.

    Desired outcome is in green color.

    Sample data is attached.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    Any reason why you casn't just use copy and paste special transpose?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    This is to accommodate new data entry in column A and B and across columns (columns as fixed - that is product 1 to product 10). However, month and year in the original table will be populated and want the new table to be respond to new data entered.

    Thanks.

  4. #4
    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: Formula to transpose rows to new columns and columns to new rows in Excel

    In d25 and copy down and across.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    Please see attached file with formulas.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    Fotis1991: Is there s way to use formula to transpose the column in the original table to rows, and also transpose the rows (month and year) to columns with formula? The sumproduct formula works. thanks.

  7. #7
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    AlKey: The work works like a charm. Thanks for the excellent work.

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    You're welcome. Please don't forget to thank those who helped by clicking on Add Reputation * .
    Last edited by AlKey; 05-26-2014 at 11:41 AM.

  9. #9
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Formula to transpose rows to new columns and columns to new rows in Excel

    File updated
    Attached Files Attached Files
    Last edited by bjnockle; 05-26-2014 at 08:08 PM.

+ 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. Replies: 1
    Last Post: 01-24-2014, 06:20 PM
  2. Replies: 2
    Last Post: 01-10-2014, 09:30 PM
  3. Transpose dissimalar rows in to columns in excel
    By wallnut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2012, 12:32 PM
  4. A formula to transpose rows into columns?
    By money n da sank in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-17-2008, 11:58 AM
  5. Formula to convert/transpose columns to rows (and vice versa)
    By markx in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-10-2005, 11:06 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