Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Beebe
 
Posts: n/a
Default Outlining - collapse rows based on repeated column value

I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Outlining - collapse rows based on repeated column value

Another way to get those outlining symbols is to use Data|Subtotals.

You can choose to count/sum/... some of the fields if you want.

Beebe wrote:

I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Beebe
 
Posts: n/a
Default Outlining - collapse rows based on repeated column value

Thanks Dave, this would give me what I wanted but it stops the grouping at
record 14,840 about half way through. There is no blank line. I checked calc
specs for limits, but limit on iterations is 32K something.

"Dave Peterson" wrote:

Another way to get those outlining symbols is to use Data|Subtotals.

You can choose to count/sum/... some of the fields if you want.

Beebe wrote:

I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Outlining - collapse rows based on repeated column value

Did you select the complete range to do the data|subtotals against?

If you let excel guess at the range, it may have guessed wrong.

I'd remove the subtotals and select the complete range and try data|subtotals
once more.

I've never seen this problem when I selected the complete range--although with
lots of rows, it can take a long time to put in those subtotals.

Beebe wrote:

Thanks Dave, this would give me what I wanted but it stops the grouping at
record 14,840 about half way through. There is no blank line. I checked calc
specs for limits, but limit on iterations is 32K something.

"Dave Peterson" wrote:

Another way to get those outlining symbols is to use Data|Subtotals.

You can choose to count/sum/... some of the fields if you want.

Beebe wrote:

I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
T Kirtley
 
Posts: n/a
Default Outlining - collapse rows based on repeated column value

The Advanced Filter feature (under the Data / Filter menu branch) shoud work
for you. For the List Range only select the column that has the 20 unique
values, choose to filter the list in-place and check the 'Unique records
only' option.

This will filter the list, hiding rows that have duplicate values, (and they
can be un-hidden later if needed). You can also select to output the filtered
range to another location if you choose.

This will only filter the data, and will not give any summary statistics. If
you want to summarize the data, say, with a record count for each value, you
should use the Subtotals approach that Dave suggested.

HTH,

TK

"Beebe" wrote:

I would like to be able to collapse all detail sales transaction rows by
value in right most product code column. I have sorted detail sales
transactions by product code column. If I have 1000 transactions for 20
products, I would like to collapse to 20 rows based on the unique product
code value in the right most column.

When I use Grouping & Outlining, Excel collapses the entire table to 1 row.
thanks for any guidance



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
how do i omit rows for printing based on column value haloprod Excel Discussion (Misc queries) 1 April 5th 06 04:59 AM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM


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