Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default trivial summary diagrams

hello advanced, I am sorry to ask such a simple thing, but my knowledges in
VBA are really poor :(
please help me, if you can with such a problem.
I have an excel sheet with 3 columns. I must run macro , which will prepare
new tables like this :
original :
colA colB colC
-------------------
A x 5
A y 8
B x 11
B y 16
(number of non unique vaules in colA and colB I dont know)

result ought to be a table (looks like champoins league score):
-----------------------------------------------------------------------
A B
x 5 11
y 8 16

Please if possible, mail the answer in , I have no
permanenet econnection.

Thank you very much !

regards

Marian


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default trivial summary diagrams

It looks like you could use a pivottable to do this.

Select your range and do Data|pivottable
follow the wizard until you see a dialog with a Layout button on it.
click that Layout button
drag the colB header to the row field.
drag the colA header to the column Field.
drag the colC header to the data field.
(If it says "count of", double click on it and change it to Sum.)

And finish up.

If you need a macro, you can record one when you do it manually.

Maros wrote:

hello advanced, I am sorry to ask such a simple thing, but my knowledges in
VBA are really poor :(
please help me, if you can with such a problem.
I have an excel sheet with 3 columns. I must run macro , which will prepare
new tables like this :
original :
colA colB colC
-------------------
A x 5
A y 8
B x 11
B y 16
(number of non unique vaules in colA and colB I dont know)

result ought to be a table (looks like champoins league score):
-----------------------------------------------------------------------
A B
x 5 11
y 8 16

Please if possible, mail the answer in , I have no
permanenet econnection.

Thank you very much !

regards

Marian


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default trivial summary diagrams

Hello dave, thank you for information, please, if you will so kindly, tell me
the last thing : in pivot table I define :
COLA is colums part
COLB is rows part
COLC is a data part of pivot table.
but : in data part I have got not a vaules but the multiplicity of vaule :(
so it means, that my pivot table created looks like :
A B
x 1 1
y 1 1

instead of
A B
x 5 11
y 8 16

some tips ?

thank you




"Dave Peterson" wrote:

It looks like you could use a pivottable to do this.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default trivial summary diagrams

Maybe it said "count of" instead of "sum of"...

Did you do this step?
....
drag the colC header to the data field.
(If it says "count of", double click on it and change it to Sum.)

Maros wrote:

Hello dave, thank you for information, please, if you will so kindly, tell me
the last thing : in pivot table I define :
COLA is colums part
COLB is rows part
COLC is a data part of pivot table.
but : in data part I have got not a vaules but the multiplicity of vaule :(
so it means, that my pivot table created looks like :
A B
x 1 1
y 1 1

instead of
A B
x 5 11
y 8 16

some tips ?

thank you

"Dave Peterson" wrote:

It looks like you could use a pivottable to do this.


--

Dave Peterson
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
Line chart in VBA - non trivial problem Tomasz Klim Charts and Charting in Excel 0 June 16th 06 04:08 PM
Trivial question Jess Excel Discussion (Misc queries) 2 April 24th 06 03:36 PM
trivial problem PH NEWS Excel Worksheet Functions 2 April 3rd 06 12:59 PM
Trivial: Mouse scroller doesn't work for VB 2002, but on different PC with 97 it does... Matt Jensen Excel Programming 2 December 16th 04 12:05 PM
Trivial VBA and Google issues/doubts Hari[_3_] Excel Programming 3 August 12th 04 10:49 AM


All times are GMT +1. The time now is 06:13 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"