Column data need to transfer to a table structure

isay

New Member
Joined
Oct 14, 2005
Messages
39
Hi Experts,
Currently, I have below details. This is timesheet to detail work every day and list time spent. I have 15 woksheets and the coverage now is for almost 7months.
Task Details 31-May 1-Jun
TaskA DetailsA 6
TaskB DetailsB 3
TaskC DetailsC 3
TaskD DetailsD 6

I need to transfer data in such format like below and automate it so not to consume hrs.
Date Task Details Hours
31-May TaskA DetailsA 6
31-May TaskB DetailsB 3
1-Jun TaskC DetailsC 3
2-Jun TaskD DetailsD 6
I will use pivot function for this for me to create a report.

I really appreciate your help. Thanks in advance.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Join the first 2 columns into one field ( use formulas to concatenate with a separator character in between, and copy and paste values ), so that you get a table that looks like this:

Excel Workbook
ABC
1Task/Details31-May01-Jun
2TaskA|DetailsA6*
3TaskB|DetailsB3*
4TaskC|DetailsC*3
5TaskD|DetailsD*6
Sheet13


Now, use that as the input for this method of normalizing your data:

http://www.tek-tips.com/faqs.cfm?fid=5287

( if you are using Excel 2007, do Alt-D-P to get the Pivot Wizard started ).

You will end up with a list like this:
Excel Workbook
ABC
1RowColumnValue
2TaskA|DetailsA31/05/20116
3TaskA|DetailsA01/06/2011*
4TaskB|DetailsB31/05/20113
5TaskB|DetailsB01/06/2011*
6TaskC|DetailsC31/05/2011*
7TaskC|DetailsC01/06/20113
8TaskD|DetailsD31/05/2011*
9TaskD|DetailsD01/06/20116
Sheet15


.. which is easy to convert to be exactly what you want. After a couple of simple operations this is the final result:
Excel Workbook
ABCD
1TasksDetailsDateValue
2TaskADetailsA31/05/20116
3TaskBDetailsB31/05/20113
4TaskCDetailsC01/06/20113
5TaskDDetailsD01/06/20116
Sheet15


( I use Data/Text to Columns to split the first column back into 2 columns )
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,390
Members
452,909
Latest member
VickiS

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