+ Reply to Thread
Results 1 to 2 of 2

Turn one row into multiple rows in excel

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    Colorado
    MS-Off Ver
    2013
    Posts
    1

    Turn one row into multiple rows in excel

    I have items that are available in multiple Distribution Centers. Currently I have them in columns with each distribution center as a different column and each item that is available is marked with that distribution centers code.

    Current sheet:

    DC in multiple columns.JPG

    There is currently one row per item. The distribution centers are on the right side of the sheet. There is not a column heading for each one. A column is dedicated to each distribution center and its abbreviation is entered on rows where it is applicable. An item with multiple distribution centers will have multiple distribution center codes.

    I need to have a single distribution center column, with a single distribution code per row, and then duplicate the rows as needed for items that currently contain multiple codes.

    What I want to do:

    DC in multiple rows.JPGSample Sheet.xlsx

    The only way I can think of doing this which would be time consuming would be to copy the item number into multiple rows and in the column that has the distribution code I would change code for the item that is available in each distribution center. I will be doing this for 900 items. Is there an add on or an easier way to do this?

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,946

    Re: Turn one row into multiple rows in excel

    Use a macro - copy this into either a codemodule in your Personal library or into a codemodule of your workbook and save the workbook as a macro-enabled .xlsm:

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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: 15
    Last Post: 03-19-2015, 05:37 PM
  2. Replies: 9
    Last Post: 06-06-2013, 11:25 PM
  3. Turn multiple rows into a single column
    By mckaa302 in forum Excel General
    Replies: 5
    Last Post: 05-26-2012, 08:08 PM
  4. How turn multiple columns/1 row into 1 column multiple rows
    By newbee.idiot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-08-2010, 04:24 AM
  5. Replies: 2
    Last Post: 03-08-2005, 02:06 PM

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