Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LTS_Bgobien
 
Posts: n/a
Default Is it possible to do a conditional subtotal in Excel?

Is it possible to do a conditional subtotal? I have used the Conditional Sum
feature many times, but I want to do a Conditional Subtotal, and I can't seem
to get it to work. Any Ideas?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Is it possible to do a conditional subtotal? I have used the

Conditional Sum
feature many times, but I want to do a Conditional Subtotal, and I

can't seem
to get it to work. Any Ideas?


  #3   Report Post  
LTS_Bgobien
 
Posts: n/a
Default

Yes, I would like to do a conditional sum based on a filtered list, but I
would like the sum value to represent the values shown by the filter only. As
far as I know only the subtotal function can do this, but I'm sure there must
be another way. Any help is appreciated.

"Frank Kabel" wrote:

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Is it possible to do a conditional subtotal? I have used the

Conditional Sum
feature many times, but I want to do a Conditional Subtotal, and I

can't seem
to get it to work. Any Ideas?



  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try something like the following (summs all values in column C if
column B conatins 'value'):
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$10,1,1),ROW($A$1: $A$10)-
ROW(INDEX($A$1:$A$10,1,1)),0))=1),--($B$1:$B$10="value"),$C$1:$C$10)

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Yes, I would like to do a conditional sum based on a filtered list,

but I
would like the sum value to represent the values shown by the filter

only. As
far as I know only the subtotal function can do this, but I'm sure

there must
be another way. Any help is appreciated.

"Frank Kabel" wrote:

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag

...
Is it possible to do a conditional subtotal? I have used the

Conditional Sum
feature many times, but I want to do a Conditional Subtotal, and

I
can't seem
to get it to work. Any Ideas?




  #5   Report Post  
LTS_Bgobien
 
Posts: n/a
Default

Looks like you have something here, but i'm having trouble getting my numbers
right. Here is what I have:

1 A B C D E F G
H
2 Year $ Value Date Value
..
..
..
200

I need to sum column F value's according to a date condition in column G. I
can do this using a SUMIF Function, but I want my Sum total to change if I
filter by year(column A), or any of my other columns. My rows go down to 200.


"Frank Kabel" wrote:

Hi
try something like the following (summs all values in column C if
column B conatins 'value'):
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$10,1,1),ROW($A$1: $A$10)-
ROW(INDEX($A$1:$A$10,1,1)),0))=1),--($B$1:$B$10="value"),$C$1:$C$10)

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Yes, I would like to do a conditional sum based on a filtered list,

but I
would like the sum value to represent the values shown by the filter

only. As
far as I know only the subtotal function can do this, but I'm sure

there must
be another way. Any help is appreciated.

"Frank Kabel" wrote:

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag

...
Is it possible to do a conditional subtotal? I have used the
Conditional Sum
feature many times, but I want to do a Conditional Subtotal, and

I
can't seem
to get it to work. Any Ideas?






  #6   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$200,1,1),ROW($A$1 :$A$200
)-
ROW(INDEX($A$1:$A$200,1,1)),0))=1),--($G$1:$G$200=DATE(2004,1,1)),$F$1
:$F$200)

If this does not work you may post your current sUMIF formula

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Looks like you have something here, but i'm having trouble getting my

numbers
right. Here is what I have:

1 A B C D E F

G
H
2 Year $ Value Date

Value
.
.
.
200

I need to sum column F value's according to a date condition in

column G. I
can do this using a SUMIF Function, but I want my Sum total to change

if I
filter by year(column A), or any of my other columns. My rows go down

to 200.


"Frank Kabel" wrote:

Hi
try something like the following (summs all values in column C if
column B conatins 'value'):

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$10,1,1),ROW($A$1: $A$10)-

ROW(INDEX($A$1:$A$10,1,1)),0))=1),--($B$1:$B$10="value"),$C$1:$C$10)

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag

...
Yes, I would like to do a conditional sum based on a filtered

list,
but I
would like the sum value to represent the values shown by the

filter
only. As
far as I know only the subtotal function can do this, but I'm

sure
there must
be another way. Any help is appreciated.

"Frank Kabel" wrote:

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb

im
Newsbeitrag

...
Is it possible to do a conditional subtotal? I have used the
Conditional Sum
feature many times, but I want to do a Conditional Subtotal,

and
I
can't seem
to get it to work. Any Ideas?





  #7   Report Post  
LTS_Bgobien
 
Posts: n/a
Default

That seemed to do the Trick...thanks for all your help Frank. If you wouldn't
mind, could you briefly explain how you got the steps in the formula. my
direct e-mail is

Thanks again

"Frank Kabel" wrote:

Hi
=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$200,1,1),ROW($A$1 :$A$200
)-
ROW(INDEX($A$1:$A$200,1,1)),0))=1),--($G$1:$G$200=DATE(2004,1,1)),$F$1
:$F$200)

If this does not work you may post your current sUMIF formula

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag ...
Looks like you have something here, but i'm having trouble getting my

numbers
right. Here is what I have:

1 A B C D E F

G
H
2 Year $ Value Date

Value
.
.
.
200

I need to sum column F value's according to a date condition in

column G. I
can do this using a SUMIF Function, but I want my Sum total to change

if I
filter by year(column A), or any of my other columns. My rows go down

to 200.


"Frank Kabel" wrote:

Hi
try something like the following (summs all values in column C if
column B conatins 'value'):

=SUMPRODUCT(--(SUBTOTAL(3,OFFSET(INDEX($A$1:$A$10,1,1),ROW($A$1: $A$10)-

ROW(INDEX($A$1:$A$10,1,1)),0))=1),--($B$1:$B$10="value"),$C$1:$C$10)

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb im
Newsbeitrag

...
Yes, I would like to do a conditional sum based on a filtered

list,
but I
would like the sum value to represent the values shown by the

filter
only. As
far as I know only the subtotal function can do this, but I'm

sure
there must
be another way. Any help is appreciated.

"Frank Kabel" wrote:

Hi
do you mean a conditional sum based on a filtered list?

--
Regards
Frank Kabel
Frankfurt, Germany

"LTS_Bgobien" schrieb

im
Newsbeitrag
...
Is it possible to do a conditional subtotal? I have used the
Conditional Sum
feature many times, but I want to do a Conditional Subtotal,

and
I
can't seem
to get it to work. Any Ideas?






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 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I set more than 3 conditional formats in Excel Reefshark Excel Discussion (Misc queries) 1 January 17th 05 11:57 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Conditional Formats in Excel DaveB Excel Worksheet Functions 2 November 15th 04 07:36 AM
Conditional Hide function for Excel mr.woofies Excel Worksheet Functions 1 October 28th 04 03:04 PM


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