Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Can't ungroup in Pivot Table Results - or how do I get what i want

I have an Excel Pivot Table that I want structured like:

State - City - Last Name - Product - Sum of Sales

I want the end result to Group (sort by) State, City, sum of Sales
descending. This report would show the top sales dollars by city, and list
which products sold and by whom.

A Last Name can show up more than once depending on the total sales of
product.

The challenge is that I keep getting a group by Last name which affects the
sort order.

End result that I want displayed

Georgia Atlanta Sally Blue cars 10,000
Georgia Atlanta Bob Green cars 9,000
Georgia Atlanta Bob Blue cars 8,500
Georgia Atlanta Sally Red cars 8,000

Is there a solution to this?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Can't ungroup in Pivot Table Results - or how do I get what iwant

YOu could add a column to the source data, in which you combine the four
fields. For example:

=C2 & "_" & D2 & "_" & E2 & "_" & F2

Add a column heading, e.g. Group, and copy the formula down to the last
row of data.
Refresh the pivot table, and replace the existing row fields with the
new field.
Then sort the Total column.

Dave wrote:
I have an Excel Pivot Table that I want structured like:

State - City - Last Name - Product - Sum of Sales

I want the end result to Group (sort by) State, City, sum of Sales
descending. This report would show the top sales dollars by city, and list
which products sold and by whom.

A Last Name can show up more than once depending on the total sales of
product.

The challenge is that I keep getting a group by Last name which affects the
sort order.

End result that I want displayed

Georgia Atlanta Sally Blue cars 10,000
Georgia Atlanta Bob Green cars 9,000
Georgia Atlanta Bob Blue cars 8,500
Georgia Atlanta Sally Red cars 8,000

Is there a solution to this?

Thanks



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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Can't ungroup in Pivot Table Results - or how do I get what i

That will do it!

Thanks for the idea :-)

"Debra Dalgleish" wrote:

YOu could add a column to the source data, in which you combine the four
fields. For example:

=C2 & "_" & D2 & "_" & E2 & "_" & F2

Add a column heading, e.g. Group, and copy the formula down to the last
row of data.
Refresh the pivot table, and replace the existing row fields with the
new field.
Then sort the Total column.

Dave wrote:
I have an Excel Pivot Table that I want structured like:

State - City - Last Name - Product - Sum of Sales

I want the end result to Group (sort by) State, City, sum of Sales
descending. This report would show the top sales dollars by city, and list
which products sold and by whom.

A Last Name can show up more than once depending on the total sales of
product.

The challenge is that I keep getting a group by Last name which affects the
sort order.

End result that I want displayed

Georgia Atlanta Sally Blue cars 10,000
Georgia Atlanta Bob Green cars 9,000
Georgia Atlanta Bob Blue cars 8,500
Georgia Atlanta Sally Red cars 8,000

Is there a solution to this?

Thanks



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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Can't ungroup in Pivot Table Results - or how do I get what i

You're welcome! It won't be as tidy as having the fields in separate
columns, but at least you can sort it in the way that you wanted.

Dave wrote:
That will do it!

Thanks for the idea :-)

"Debra Dalgleish" wrote:


YOu could add a column to the source data, in which you combine the four
fields. For example:

=C2 & "_" & D2 & "_" & E2 & "_" & F2

Add a column heading, e.g. Group, and copy the formula down to the last
row of data.
Refresh the pivot table, and replace the existing row fields with the
new field.
Then sort the Total column.

Dave wrote:

I have an Excel Pivot Table that I want structured like:

State - City - Last Name - Product - Sum of Sales

I want the end result to Group (sort by) State, City, sum of Sales
descending. This report would show the top sales dollars by city, and list
which products sold and by whom.

A Last Name can show up more than once depending on the total sales of
product.

The challenge is that I keep getting a group by Last name which affects the
sort order.

End result that I want displayed

Georgia Atlanta Sally Blue cars 10,000
Georgia Atlanta Bob Green cars 9,000
Georgia Atlanta Bob Blue cars 8,500
Georgia Atlanta Sally Red cars 8,000

Is there a solution to this?

Thanks



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





--
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
Pivot Table - divide two results Pete Petersen Excel Worksheet Functions 6 July 1st 08 06:39 PM
Pivot Table external XLS file source change and GETPIVOTDATA refresh mbobro Excel Discussion (Misc queries) 0 July 8th 06 12:45 PM
Pivot table grouped results BRFx2 Excel Worksheet Functions 3 June 28th 06 08:29 PM
Pivot Table for survey results with set of possible answers in PT's Rows Field? [email protected] Excel Discussion (Misc queries) 0 May 16th 05 10:35 PM
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM


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