Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default "collapsing" data--but only for certain rows

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
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" Dennis Excel Discussion (Misc queries) 0 July 17th 06 02:38 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc Bob Reynolds[_2_] Excel Programming 0 March 4th 04 08:52 PM


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