+ Reply to Thread
Results 1 to 6 of 6

Help with reorganizing raw data on a different sheet

  1. #1
    Registered User
    Join Date
    08-31-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    3

    Help with reorganizing raw data on a different sheet

    Hello,

    Note: I attached my file because my explanation of my problem may be confusing.

    I have raw data which is organized with the Item # and Process listed vertically and the Date listed horizontally. I would like to show this data with the Item # listed vertically and the Date and Process listed horizontally. I would like the date to be repeated with each step in the process to each item. Currently, the date is only listed once because the Item # and Process are listed vertically. Each unique date will go from being listed once per column to being repeated 5 times (once for each of the 5 steps). I will manually build this part of the working sheet. I need a function that changes the numbers from running vertically to horizontally. I manually typed in some numbers in my file which may give you a better idea of my intention. Basically, I think I am trying to transpose the numbers, but I don't think the transpose function will work with how I need my data organized. Please see my attached sample file.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help with reorganizing raw data on a different sheet

    In B3, then copied down and across:

    =INDEX('Raw Data'!$C$2:$E$21, MATCH($A3&B$2, INDEX('Raw Data'!$A$2:$A$21&'Raw Data'!$B$2:$B$21, 0), 0), MATCH(B$1, 'Raw Data'!$C$1:$E$1, 0))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Help with reorganizing raw data on a different sheet

    Hi Rockfish and welcome to the forum,

    See the attached where I started with you raw data and used "Get & Transform" to UnPivot the date columns. Then using the result on sheet1 did a Pivot Table to get what I think you want as an answer.

    UnPivot took about 5 mouse clicks and the Pivot took about 5 more.

    1. Click anywhere in your raw data table.
    2. Click Data Tab - From Table/Range then OK (make sure "my data has headers" is checked)
    3. Select first two columns in the Query Editor then right click on a column head and select "UnPivot Other Columns"
    4. Click column1 header and change data type to date.
    5. Close & Load.

    This is how I made sheet1.

    Do a pivot table with sheet1 to get what I think you want, attached.

    PQ UnPivot then Pivot as OP wants.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    08-31-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    3

    Re: Help with reorganizing raw data on a different sheet

    Thank you JBeaucaire! The function you provided worked great! My actual data covers 12+ months, but I was able to simply modify your function to cover additional months.

  5. #5
    Registered User
    Join Date
    08-31-2017
    Location
    United States
    MS-Off Ver
    2016
    Posts
    3

    Re: Help with reorganizing raw data on a different sheet

    Thank you MarvinP! Your recommendation looks like it should work. I will definitely spend some time learning how to use "Get & Transform to UnPivot columns. This is a great tool!

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help with reorganizing raw data on a different sheet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Reorganizing Data
    By TristanL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2014, 04:13 PM
  2. Reorganizing Data
    By nav505 in forum Excel General
    Replies: 5
    Last Post: 02-23-2013, 04:25 PM
  3. Reorganizing Data
    By nav505 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-23-2013, 01:13 PM
  4. [SOLVED] Reorganizing data-please help
    By pahari75 in forum Excel General
    Replies: 7
    Last Post: 01-25-2013, 01:32 AM
  5. Reorganizing data from another sheet
    By cadamhill in forum Excel General
    Replies: 7
    Last Post: 04-05-2011, 09:54 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