Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jac Jac is offline
external usenet poster
 
Posts: 58
Default How to create crosstabs in a table?????

Hi,

Originally, I have the table of data organized in the format as below:-

Discipline Title Status Year Amount Core
Mekong D Rejected 2006 1600 1800
Mekong D Rejected 2008 2000 2500
Mekong F Rejected 2008 2600 3000
Mekong E Under Dev. 2007 3000 3200
Mekong E Under Dev. 2008 2000 2000
Pacific C Expected 2008 2000 2100
Pacific C Expected 2009 2000 2500
Pacific A Secured 2006 1000 1200
Pacific A Secured 2007 1800 2000
Pacific B Under Dev. 2007 3000 3200

But I would like the table to be re-format into the layout as below:-

Discipline Title Status 2006 2007 2008
2009
Mekong D Rejected 1600 1800 2000 2500
Mekong F Rejected 2600 3000
Mekong E Under Dev. 3000 3200 2000 2000
Pacific C Expected 2000 2100 2000 2500
Pacific A Secured 1000 1200 1800 2000
Pacific B Under Dev. 3000 3200

How would I have to convert the table format as the above one????
Do I need an array statement to do so???
By the time being, I still couldn't find a way out but I had tried out using
the array; unfortunately, thing still doesn't work out as intented!!!

Help and advice needed here..........
Thanking in advance!!!




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default How to create crosstabs in a table?????

You could use a pivot table to summarize the data.

Put the Discipline, Title and Status fields in the Row area, put Year in
the Column area, and Amount and Core in the Data area.

There are pivot table instructions and links he

http://www.contextures.com/xlPivot01.html



Jac wrote:
Hi,

Originally, I have the table of data organized in the format as below:-

Discipline Title Status Year Amount Core
Mekong D Rejected 2006 1600 1800
Mekong D Rejected 2008 2000 2500
Mekong F Rejected 2008 2600 3000
Mekong E Under Dev. 2007 3000 3200
Mekong E Under Dev. 2008 2000 2000
Pacific C Expected 2008 2000 2100
Pacific C Expected 2009 2000 2500
Pacific A Secured 2006 1000 1200
Pacific A Secured 2007 1800 2000
Pacific B Under Dev. 2007 3000 3200

But I would like the table to be re-format into the layout as below:-

Discipline Title Status 2006 2007 2008
2009
Mekong D Rejected 1600 1800 2000 2500
Mekong F Rejected 2600 3000
Mekong E Under Dev. 3000 3200 2000 2000
Pacific C Expected 2000 2100 2000 2500
Pacific A Secured 1000 1200 1800 2000
Pacific B Under Dev. 3000 3200

How would I have to convert the table format as the above one????
Do I need an array statement to do so???
By the time being, I still couldn't find a way out but I had tried out using
the array; unfortunately, thing still doesn't work out as intented!!!

Help and advice needed here..........
Thanking in advance!!!






--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.programming
Jac Jac is offline
external usenet poster
 
Posts: 58
Default How to create crosstabs in a table?????

Thank you very much for the help!! : )


"Debra Dalgleish" wrote:

You could use a pivot table to summarize the data.

Put the Discipline, Title and Status fields in the Row area, put Year in
the Column area, and Amount and Core in the Data area.

There are pivot table instructions and links he

http://www.contextures.com/xlPivot01.html



Jac wrote:
Hi,

Originally, I have the table of data organized in the format as below:-

Discipline Title Status Year Amount Core
Mekong D Rejected 2006 1600 1800
Mekong D Rejected 2008 2000 2500
Mekong F Rejected 2008 2600 3000
Mekong E Under Dev. 2007 3000 3200
Mekong E Under Dev. 2008 2000 2000
Pacific C Expected 2008 2000 2100
Pacific C Expected 2009 2000 2500
Pacific A Secured 2006 1000 1200
Pacific A Secured 2007 1800 2000
Pacific B Under Dev. 2007 3000 3200

But I would like the table to be re-format into the layout as below:-

Discipline Title Status 2006 2007 2008
2009
Mekong D Rejected 1600 1800 2000 2500
Mekong F Rejected 2600 3000
Mekong E Under Dev. 3000 3200 2000 2000
Pacific C Expected 2000 2100 2000 2500
Pacific A Secured 1000 1200 1800 2000
Pacific B Under Dev. 3000 3200

How would I have to convert the table format as the above one????
Do I need an array statement to do so???
By the time being, I still couldn't find a way out but I had tried out using
the array; unfortunately, thing still doesn't work out as intented!!!

Help and advice needed here..........
Thanking in advance!!!






--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


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
Crosstabs do not copy as I would like when copying worksheets PSchmidt Excel Discussion (Misc queries) 6 March 6th 07 06:36 PM
crosstabs Omar Excel Discussion (Misc queries) 1 January 29th 07 12:31 PM
Create new excel table with filtered records from another table Berne van de Laar Excel Worksheet Functions 3 July 3rd 06 12:14 AM
need pivot tables to look more like crosstabs with repeating data. skeekath Excel Discussion (Misc queries) 1 August 23rd 05 10:28 PM
create a source table from a special pasted value dynamic crossed table Tom Ogilvy Excel Programming 0 September 29th 03 08:59 PM


All times are GMT +1. The time now is 08:14 PM.

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

About Us

"It's about Microsoft Excel"