Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default (Repost) - Pivot table: Grouping first row field by fifth row fiel

Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Many thanks in advance,

--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Sorting pivot row fields by another row field

does anyone know how to do this? I can't use the regular Sort tool on the
tool bar to do the sorting, it must be a pivot table function.... Anyone?
Anyone? :-)
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557


"klysell" wrote:

Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Many thanks in advance,

--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default (Repost) - Pivot table: Grouping first row field by fifth row fiel

On Jul 11, 1:46 pm, klysell .(donotspam) wrote:
Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Is there a reason that IO is your first row field? Do you need to
report grouped on IO or can you reorder your fields to put DAC first,
RC second and the IO (or IO last)

If you need groupings by all 3, you will probably need to write a
macro to do the totaling by RC and DAC. For this type of thing I use
dictionary objects for totalling and then print them out at the end of
the pivot table.

Peter

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default (Repost) - Pivot table: Grouping first row field by fifth row

Hi Peter,

First of all, thank-you for your reply. I am reporting data for a
project-matrix organization. Therefore, my client needs to have data reported
by the smallest data field, namely the internal order. The last row field is
actually the largest grouping of data, and logically, you would think that
this would be the first grouping. However, since this is a matrix
organization and projects cross other responsibility centres (RCs), cost
centers (CCs), and deputy assistant commissioners (DACs), the driver in the
data is the internal order, and therefore, the row fields are organized in
reverse order to their parent-child relationship.

With in mind, how would I force the pivot table using VBA code to group in a
reverse fashion - i.e group DACs by the RC and group RCs by the cost centre.

You mentioned that I could use a dictionary object to accomplish this task.
I am unsure how this works. Any help would be very appreciated!

Thanks in advance,
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557


" wrote:

On Jul 11, 1:46 pm, klysell .(donotspam) wrote:
Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Is there a reason that IO is your first row field? Do you need to
report grouped on IO or can you reorder your fields to put DAC first,
RC second and the IO (or IO last)

If you need groupings by all 3, you will probably need to write a
macro to do the totaling by RC and DAC. For this type of thing I use
dictionary objects for totalling and then print them out at the end of
the pivot table.

Peter


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default (Repost) - Pivot table: Grouping first row field by fifth row

I could do the re-ordering manually, but as soon as I refresh the data
underpinning the pivot tables, the any new internal orders would not be
placed in the proper sequence since Excel isn't that intelligent keep your
ordering system....
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557


" wrote:

On Jul 11, 1:46 pm, klysell .(donotspam) wrote:
Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Is there a reason that IO is your first row field? Do you need to
report grouped on IO or can you reorder your fields to put DAC first,
RC second and the IO (or IO last)

If you need groupings by all 3, you will probably need to write a
macro to do the totaling by RC and DAC. For this type of thing I use
dictionary objects for totalling and then print them out at the end of
the pivot table.

Peter




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default (Repost) - Pivot table: Grouping first row field by fifth row

How about using the pivot table values as a source in a formula placed in
another fixed table. At this point, I can use Excel's sort function to sort
any way I wish subsequent to the refresh of data from the pt. I would also
have much more flexibility in formatting the table... but this would entail
much more templating work, etc.

What are people's thoughts on this pivot table reverse-grouping dilemma?
--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.948-9557


" wrote:

On Jul 11, 1:46 pm, klysell .(donotspam) wrote:
Hi,

For you pivot table experts, I have five pivot table row-field categories:
IO,
CC, CC Mgr, RC, and DAC - all within one pivot table. I would like to group
(or sort) IOs (the first-order row category), by the items in the DAC row
field (fifth-order row category). There isn't such a feature in Excel 2003 to
group (sort) a first-order row field according to a subsequent-order field,
is there? Assuming that there isn't, I would need to use VBA to do this
grouping. I would also like to do another grouping (or sorting) of IOs (the
first-order row category) by the RC (the fourth-order row category).
Therefore, I would need more code to this secondary grouping. Any help would
be immensely appreciated!

Is there a reason that IO is your first row field? Do you need to
report grouped on IO or can you reorder your fields to put DAC first,
RC second and the IO (or IO last)

If you need groupings by all 3, you will probably need to write a
macro to do the totaling by RC and DAC. For this type of thing I use
dictionary objects for totalling and then print them out at the end of
the pivot table.

Peter


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
Pivot table: Grouping first row field by fifth row field klysell Excel Programming 0 July 11th 07 04:48 PM
Pivot Table Page Field (Repost) Barb Reinhardt Excel Programming 2 July 9th 07 01:48 PM
grouping using a automated day field in a pivot table Gai Excel Worksheet Functions 3 February 19th 07 10:40 PM
Grouping a data field in a pivot table mercedes Excel Discussion (Misc queries) 4 December 11th 06 07:20 PM
grouping field in pivot table! via135 Excel Worksheet Functions 3 February 9th 06 12:24 AM


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