A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pushing data Orientation



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2009, 10:31 AM posted to microsoft.public.access
Jai_Friday
external usenet poster
 
Posts: 55
Default Pushing data Orientation

Morning ,

I didnt know which area to post this as the answer could be query, report or
macro

I wish to know if there is a way to push data to from top down to left to
right

example is , from an ODBC link I gather turnover figures for customer over
months which by default exports as follows

Customer Month Turnover
ABC Ltd Jan 09 £100
ABC Ltd Feb 09 £200
ABC Ltd Mar 09 £300
ABC Ltd Apr 09 £400

What I would like to do is automatically bend the data so I get it on a
single line and the change in Months seperate into columns

Customer Jan 09 Feb 09 Mar 09 Apr 09
ABC Ltd £100 £200 £300 £400

I think Pivot Tables could be a solution but not really used them ,

Thanks in Advance

Jai Cutmore




  #2  
Old November 4th, 2009, 11:28 AM posted to microsoft.public.access
Stefan Hoffmann
external usenet poster
 
Posts: 991
Default Pushing data Orientation

hi Jai,

Jai_Friday wrote:
Customer Month Turnover
ABC Ltd Jan 09 £100
ABC Ltd Feb 09 £200
ABC Ltd Mar 09 £300
ABC Ltd Apr 09 £400

What I would like to do is automatically bend the data so I get it on a
single line and the change in Months seperate into columns

Customer Jan 09 Feb 09 Mar 09 Apr 09
ABC Ltd £100 £200 £300 £400

I think Pivot Tables could be a solution but not really used them ,

Yes, you should use the pivot wizard, it is quite simple. Just give it a
try.


mfG
-- stefan --
  #3  
Old November 4th, 2009, 12:19 PM posted to microsoft.public.access
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Pushing data Orientation

You need a crosstab query. Access has a wizard to help you create one. You
may need to give it a couple attempts; however, a crosstab query will produce
the data like you want to see it. There is one catch: Access will probably
create the column headings across alphabetically isn't of by month and year.
You can over ride this by specifying the column headings.

Allen Browne has a lot of info on crosstab queries.

http://allenbrowne.com/ser-67.html
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Jai_Friday" wrote:

Morning ,

I didnt know which area to post this as the answer could be query, report or
macro

I wish to know if there is a way to push data to from top down to left to
right

example is , from an ODBC link I gather turnover figures for customer over
months which by default exports as follows

Customer Month Turnover
ABC Ltd Jan 09 £100
ABC Ltd Feb 09 £200
ABC Ltd Mar 09 £300
ABC Ltd Apr 09 £400

What I would like to do is automatically bend the data so I get it on a
single line and the change in Months seperate into columns

Customer Jan 09 Feb 09 Mar 09 Apr 09
ABC Ltd £100 £200 £300 £400

I think Pivot Tables could be a solution but not really used them ,

Thanks in Advance

Jai Cutmore




  #4  
Old November 4th, 2009, 12:22 PM posted to microsoft.public.access
Christian[_6_]
external usenet poster
 
Posts: 1
Default Pushing data Orientation


"Stefan Hoffmann" schrieb im Newsbeitrag
...
hi Jai,

Jai_Friday wrote:
Customer Month Turnover
ABC Ltd Jan 09 £100
ABC Ltd Feb 09 £200
ABC Ltd Mar 09 £300
ABC Ltd Apr 09 £400

What I would like to do is automatically bend the data so I get it on a
single line and the change in Months seperate into columns

Customer Jan 09 Feb 09 Mar 09 Apr 09 ABC Ltd £100 £200 £300
£400

I think Pivot Tables could be a solution but not really used them ,

Yes, you should use the pivot wizard, it is quite simple. Just give it a
try.


mfG
-- stefan --


  #5  
Old November 4th, 2009, 05:08 PM posted to microsoft.public.access
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Pushing data Orientation

On Wed, 4 Nov 2009 02:31:01 -0800, Jai_Friday
wrote:


What I would like to do is automatically bend the data so I get it on a
single line and the change in Months seperate into columns

Customer Jan 09 Feb 09 Mar 09 Apr 09
ABC Ltd £100 £200 £300 £400

I think Pivot Tables could be a solution but not really used them ,


A Crosstab Query is probably your best solution. See the Help for that term.
--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:04 PM.


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