Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default More Pivot Table Hullaballoo... text value grouping

I understand that I can only group numeric data, but I was wondering if
anyone has an ingenious way of grouping text values. I have values
with country of origin listed. IE:

United States,
UK
Spain
Germany
Other

Basically what I want to do is group everything outside the U.S. into a
group called "International" so I can pivot between United States and
International.

Any ideas?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default More Pivot Table Hullaballoo... text value grouping

You can group non-numeric data in a Piovt table. The Pop-up that says the
selection can not be grouped appears if only one item is selected. First,
select all the members of a group ( everything outside the US ). Then Right
Click choose Group Outline choose Group. Excel inserts a new column with
GROUP1 etc. Then change the label GROUP1 by typing over it.

To do the same in code select the range of values you want to group
Range("B34:B40").Select
Selection.Group

ActiveSheet.PivotTables("PivotTable2").PivotFields (1).PivotItems("Group4") _
.Caption = "test group"

Regards,
Mike

" wrote:

I understand that I can only group numeric data, but I was wondering if
anyone has an ingenious way of grouping text values. I have values
with country of origin listed. IE:

United States,
UK
Spain
Germany
Other

Basically what I want to do is group everything outside the U.S. into a
group called "International" so I can pivot between United States and
International.

Any ideas?

Thanks!


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 Carol Chan Excel Discussion (Misc queries) 2 November 27th 16 02:36 AM
Pivot Table - Grouping slow386 Excel Worksheet Functions 3 April 1st 08 08:21 PM
Grouping in Pivot Table E Moorhead Excel Discussion (Misc queries) 3 May 4th 07 09:43 PM
pivot table grouping jmd Excel Discussion (Misc queries) 2 January 18th 06 04:16 AM
Pivot Table Grouping Mike Waldron[_2_] Excel Programming 0 April 26th 04 10:18 PM


All times are GMT +1. The time now is 09:15 PM.

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"