Moving a cell to a a column depending on a criteria

dsbutel

New Member
Joined
Apr 25, 2011
Messages
1
I exported some data into Excel from html that lists a name and the details of what Project/tasks they booked time to right below. I need the name to appear next to each task instead of above the data. Here is a sample of what I am talking about. The number of rows below each name varies, but each set of data ends with a Totals row.

Format now....
John Smith
2/28/2011 Project 1 Support 15
3/1/2011 Project 2 Dev 5
3/2/2011 Project 1 Pager 8
total 28
Sarah Doe
3/1/2011 Project 1 Support 3
3/2/2011 Project 2 Dev 5
Total 8
Michael Smith
...
...

What I need it to be....
Name Date Project Task Hours
John Smith 2/28/2011 Project 1 Support 15
John Smith 3/1/2011 Project 2 Dev 5
John Smith 3/2/2011 Project 1 Pager 8
Sarah Doe 3/1/2011 Project 1 Support 3
Sarah Doe 3/2/2011 Project 2 Dev 5

thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,224,587
Messages
6,179,735
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top