PC Review


Reply
Thread Tools Rate Thread

How to create crosstabs in a table?????

 
 
=?Utf-8?B?SmFj?=
Guest
Posts: n/a
 
      25th Jun 2007
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!!!




 
Reply With Quote
 
 
 
 
Debra Dalgleish
Guest
Posts: n/a
 
      25th Jun 2007
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 here:

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 With Quote
 
=?Utf-8?B?SmFj?=
Guest
Posts: n/a
 
      25th Jun 2007
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 here:
>
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 crosstabs =?Utf-8?B?Z2VlYmVl?= Microsoft Access Queries 1 11th Jul 2006 02:45 AM
To have month and year as part of the table name in CREATE TABLE or MAKE TABLE Query ichew@scs.com.sg Microsoft Access Getting Started 1 18th Apr 2006 06:38 AM
When I create a new item in my table, how can I create on in a linked table also? PaulHilgeman Microsoft Access Forms 4 17th Feb 2006 01:25 AM
Create Table Primary Key after Make Table Query And Update Table =?Utf-8?B?Uk5VU1pAT0tEUFM=?= Microsoft Access Queries 1 3rd May 2005 08:07 PM
CrossTabs =?Utf-8?B?dGVlbGVl?= Microsoft Access External Data 0 2nd Dec 2004 08:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:39 AM.