PC Review


Reply
Thread Tools Rate Thread

"collapsing" data--but only for certain rows

 
 
childofthe1980s
Guest
Posts: n/a
 
      10th Sep 2008
Hello:

I have a spreadsheet that contains accounting data that I exported from a
separate application. The spreadsheet contains a column called "Series".
The rows in this column are designated by such phrases as "Sales",
"Purchasing", and "Financial".

For "Sales" rows, I want to have Excel automatically remove data from three
columns and "collapse" the data in the other columns. When I say "collapse",
I mean eliminate the duplicate data in each row so that only one row contains
the data.

In effect, "Sales" rows will be summarized while "Purchasing" and
"Financial" rows wil contain the detail.

This is hard to explain and take in, I know. But, if anyone has any ideas
on what sort of macro can be created to summarize data for just certain rows
within a spreadsheet, I would love to hear them.

Thanks!

childofthe1980s
 
Reply With Quote
 
 
 
 
JR Form
Guest
Posts: n/a
 
      11th Sep 2008
Try using the Subtotal function. It can then be controlled in a tree control
to show details and hide details.
If you are using Excel 2007 the function is located on the Data tab in the
Outline tools. If you are using Excel 2003 then click Data on the menu bar
and choose Subtotals. This will work if the data is sorted before running
it. Assuming the accounting data has a column of account numbers.




"childofthe1980s" wrote:

> Hello:
>
> I have a spreadsheet that contains accounting data that I exported from a
> separate application. The spreadsheet contains a column called "Series".
> The rows in this column are designated by such phrases as "Sales",
> "Purchasing", and "Financial".
>
> For "Sales" rows, I want to have Excel automatically remove data from three
> columns and "collapse" the data in the other columns. When I say "collapse",
> I mean eliminate the duplicate data in each row so that only one row contains
> the data.
>
> In effect, "Sales" rows will be summarized while "Purchasing" and
> "Financial" rows wil contain the detail.
>
> This is hard to explain and take in, I know. But, if anyone has any ideas
> on what sort of macro can be created to summarize data for just certain rows
> within a spreadsheet, I would love to hear them.
>
> Thanks!
>
> childofthe1980s

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent automatic collapsing of "inner" folders when collapsing "outer" folder in Outlook 2003? Sven Claasen Microsoft Outlook Discussion 5 4th Sep 2009 04:09 PM
How to prevent automatic collapsing of "inner" folders when collapsing "outer" folder in Outlook 2003? Sven Claasen Windows XP Help 0 4th Sep 2009 08:28 AM
How to prevent automatic collapsing of "inner" folders when collapsing "outer" folder in Outlook 2003? Sven Claasen Microsoft Outlook 0 4th Sep 2009 08:28 AM
Collapsing rows with no data for printing John Sullivan Microsoft Excel Worksheet Functions 2 17th Apr 2004 05:42 PM
Formatting data from "Columns and Rows" to just "Rows" Jonathan Lord Microsoft Excel Worksheet Functions 1 23rd Sep 2003 06:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:45 PM.