Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data Formatting in Excel/Macro

I have the data format as follows in the pivot Table:

Job date time CPU-Usage
--- ---- ---- ---------
Job1 1st Jan 10:00 10
Job1 2nd Jan 10:00 10
Job2 1st Jan 10:30 10
Job2 2nd Jan 10:40 10
Job2 2nd Jan 10:44 10
Job3 1st Jan 10:40 10
Job3 1st Jan 10:54 10
Job3 2nd Jan 10:07 10
Job3 2nd Jan 10:10 10

This table is created in Pivot table. Since a Cut, Delete, Paste cannot be
done on this a macro for the below layout seems diificult.

There are multiple runs of the same job on the same day.However, The first
run of each job and its details on the same day MUST exist on the SAME LINE,
as shown below

Job 1 Job 2 Job 3 ETC
1 Jan 1 Jan 1 Jan
1 Jan
2 Jan 2 Jan 2 Jan
2 Jan
2 Jan
3 Jan 3 Jan 3 Jan

Just that we want the these jobs and details side by side date wise.
Please suggest how this can be achieved by Macro? Or any other excel Function.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Data Formatting in Excel/Macro

Have you tried "Paste Special", "Transpose"? seems like the easiest way to
turn the table on its side.

"Sadanand Padmawar" wrote:

I have the data format as follows in the pivot Table:

Job date time CPU-Usage
--- ---- ---- ---------
Job1 1st Jan 10:00 10
Job1 2nd Jan 10:00 10
Job2 1st Jan 10:30 10
Job2 2nd Jan 10:40 10
Job2 2nd Jan 10:44 10
Job3 1st Jan 10:40 10
Job3 1st Jan 10:54 10
Job3 2nd Jan 10:07 10
Job3 2nd Jan 10:10 10

This table is created in Pivot table. Since a Cut, Delete, Paste cannot be
done on this a macro for the below layout seems diificult.

There are multiple runs of the same job on the same day.However, The first
run of each job and its details on the same day MUST exist on the SAME LINE,
as shown below

Job 1 Job 2 Job 3 ETC
1 Jan 1 Jan 1 Jan
1 Jan
2 Jan 2 Jan 2 Jan
2 Jan
2 Jan
3 Jan 3 Jan 3 Jan

Just that we want the these jobs and details side by side date wise.
Please suggest how this can be achieved by Macro? Or any other excel Function.
Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data validation with custom number formatting rbekka Excel Discussion (Misc queries) 1 June 19th 06 08:31 AM
Formatting web imported data correctly Bob Smith Excel Worksheet Functions 0 December 23rd 05 04:10 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 02:56 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 09:03 AM
Formatting data rn Excel Discussion (Misc queries) 1 March 17th 05 11:01 AM


All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"