Solved

Data reordering - Moving Data from mutiple columns into multiple rows

Posted on 2016-09-21
7
57 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
7 Comments
 
LVL 29

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 21

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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 

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 29

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 29

Expert Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

825 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