Solved

Data reordering - Moving Data from mutiple columns into multiple rows

Posted on 2016-09-21
7
58 Views
Last Modified: 2016-09-22
I need to reorder data on the attached spreadsheet.  I need the Date and Amounts from View 1 to line up and look like View 2

View 2 has a date per record and the cumulative hours next to the date, but everything is in one column

I have over 60,000 lines items and 3 tabs to format, so a nice formula to do it quickly would be best,  Thank you
EE---Column-Reordering.xlsx
0
Comment
Question by:ablove3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 30

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 250 total points
ID: 41810255
If you are using Excel 2010 or later, you may consider using Power Query (A free MS Add-in) to get the desired output.
You actually need to unpivot the data.
0
 
LVL 22

Assisted Solution

by:Ejgil Hedegaard
Ejgil Hedegaard earned 250 total points
ID: 41811063
1
 
LVL 18

Expert Comment

by:xtermie
ID: 41811137
Ejgil has provided a solid solution, however, you may want to consider ordering/labelling your data so that a PIVOT table can be used to do this grouping you want, as there may be may rows/records to index/match
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ablove3
ID: 41811274
I was able to find the Pivot Query and it was amazing, but I'm glad that a formula was sent as well, so that I could deconstruct the formula and understand how MATCH/INDEX works
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41811324
Here is a Power Query Solution and to me it is more robust and dynamic enough to incorporate more data you add in the Table1 on the sheet other than 60000 rows of existing data.
After adding more data, you just need to right click the Table on Sheet2 and choose Refresh and the new data will be reflected in the table on sheet2 automatically.

See if that helps.
EE---Column-Reordering.xlsx
0
 

Author Closing Comment

by:ablove3
ID: 41811358
I was able to find the Pivot Query and it was amazing and took seconds, but I'm glad that a formula was sent as well, so that I could deconstruct the formula and understand how MATCH/INDEX works
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41811376
You're welcome. Glad we could help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question