Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Subtotalling

I have a report that I would like to subtotal the dollar amount in column C
based on the information in columns A and B.

If column A has "4-$" or "CNO-$" and "GESA CK" in column B, I would like to
add a space at the end of that sort and total the dollar amount in column C.
Then after that information if colunn A has "GESA CK Only" in column A and
"GESA CK" in column B, total only their sums at the bottom of their list. Is
this even possible or would I need to put these on separate sheets? Thanks
for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Subtotalling

Two possible ways to go about this.

One is to add subototals using Data-Subtotal. Before you do this you need
to sort your data by columns A and then B. Now hit Data-Subtotal and select
the criteria (column A)for your subtotals. Hit Data-Subototals once more and
this time deselect (remove previous subtotals). And select your next Criteria
(column b).

The second way (my personal favourite) is to use a pivot table. Select the
data range for the subtotaling and then hit Data- Pivot table. follow the
wizard. Place your A column member and B column memebers in the left hand
column and then place your amounts in the center section. you can move things
around and filter in more ways than you can count.
--
HTH...

Jim Thomlinson


"JOUIOUI" wrote:

I have a report that I would like to subtotal the dollar amount in column C
based on the information in columns A and B.

If column A has "4-$" or "CNO-$" and "GESA CK" in column B, I would like to
add a space at the end of that sort and total the dollar amount in column C.
Then after that information if colunn A has "GESA CK Only" in column A and
"GESA CK" in column B, total only their sums at the bottom of their list. Is
this even possible or would I need to put these on separate sheets? Thanks
for your help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Subtotalling

HI Jim, thanks for this advice, but it won't work for me. I need to do this
with code and have the result display on the sheet. Can this even be done.
I should have specified the code the first time around, sorry.

"Jim Thomlinson" wrote:

Two possible ways to go about this.

One is to add subototals using Data-Subtotal. Before you do this you need
to sort your data by columns A and then B. Now hit Data-Subtotal and select
the criteria (column A)for your subtotals. Hit Data-Subototals once more and
this time deselect (remove previous subtotals). And select your next Criteria
(column b).

The second way (my personal favourite) is to use a pivot table. Select the
data range for the subtotaling and then hit Data- Pivot table. follow the
wizard. Place your A column member and B column memebers in the left hand
column and then place your amounts in the center section. you can move things
around and filter in more ways than you can count.
--
HTH...

Jim Thomlinson


"JOUIOUI" wrote:

I have a report that I would like to subtotal the dollar amount in column C
based on the information in columns A and B.

If column A has "4-$" or "CNO-$" and "GESA CK" in column B, I would like to
add a space at the end of that sort and total the dollar amount in column C.
Then after that information if colunn A has "GESA CK Only" in column A and
"GESA CK" in column B, total only their sums at the bottom of their list. Is
this even possible or would I need to put these on separate sheets? Thanks
for your help.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Subtotalling

Yes it can be done but it's a pile of work... I would give you a hand but I
am off home now... if no one else gets back to you re-post tomorrow I might
be able to look at it then.
--
HTH...

Jim Thomlinson


"JOUIOUI" wrote:

HI Jim, thanks for this advice, but it won't work for me. I need to do this
with code and have the result display on the sheet. Can this even be done.
I should have specified the code the first time around, sorry.

"Jim Thomlinson" wrote:

Two possible ways to go about this.

One is to add subototals using Data-Subtotal. Before you do this you need
to sort your data by columns A and then B. Now hit Data-Subtotal and select
the criteria (column A)for your subtotals. Hit Data-Subototals once more and
this time deselect (remove previous subtotals). And select your next Criteria
(column b).

The second way (my personal favourite) is to use a pivot table. Select the
data range for the subtotaling and then hit Data- Pivot table. follow the
wizard. Place your A column member and B column memebers in the left hand
column and then place your amounts in the center section. you can move things
around and filter in more ways than you can count.
--
HTH...

Jim Thomlinson


"JOUIOUI" wrote:

I have a report that I would like to subtotal the dollar amount in column C
based on the information in columns A and B.

If column A has "4-$" or "CNO-$" and "GESA CK" in column B, I would like to
add a space at the end of that sort and total the dollar amount in column C.
Then after that information if colunn A has "GESA CK Only" in column A and
"GESA CK" in column B, total only their sums at the bottom of their list. Is
this even possible or would I need to put these on separate sheets? Thanks
for your help.

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
Subtotalling Delamgbc Excel Worksheet Functions 1 October 15th 08 08:22 AM
Subtotalling ann New Users to Excel 2 February 8th 07 10:45 PM
Subtotalling ldf863 Excel Worksheet Functions 2 May 26th 06 06:33 PM
Subtotalling MarkN Excel Worksheet Functions 2 February 23rd 06 09:27 PM
subtotalling using vba JulieD Excel Programming 1 July 5th 04 02:04 PM


All times are GMT +1. The time now is 03:07 AM.

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"