LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Sum by different sorts

I have a simple spreadsheet. While working on it I constantly need to
sort by different columns and I have several macros to do just that.

The problem:
For the various sorts I also need to sum the columns by their
respective categories. Hear is a simple representation of what I am
trying to do.

Item Type Qty
----------------------------
Apple Fruit 4
Pear Fruit 10
Apple Fruit 4
Potato Veg 6
Fish Meat 22

Ex: When I sort by "Item" I want the sum for each one of the
following: Apples, Pears, Potatoes, and Fish.

When I sort by "Type" I want the sum for each one of the following:
Fruit Veg Meat.

Currently after each sort, I manually insert a row between each
category and use the Sum function to get what I want. But when I sort
by something else, and then come back to a previous sort the sum rows
I inserted are no longer in the correct place. (They end up at the
bottom.)

There has got to be a better way.
Thanks

 
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
subtotals and sorts SheriTingle Excel Discussion (Misc queries) 1 February 22nd 07 11:36 AM
Drop Down Box that sorts Joey041 Excel Discussion (Misc queries) 1 July 23rd 06 03:46 AM
Sorts Mona Marie Excel Worksheet Functions 3 July 21st 06 06:07 PM
A question of sorts ballb0y Excel Discussion (Misc queries) 5 October 7th 05 02:26 AM
Monotype Sorts in XP Wesley Parks Setting up and Configuration of Excel 0 May 12th 05 02:07 PM


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