#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Conditional subtotal

Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems impossible.

Thanks for any insight,
Sarah

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

Improvement...

Since the sum range and the criteria range are the same we can simplify that
slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Conditional subtotal

Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to sum
ranges whose criteria ranges are from another column, as well. Works great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well. It
solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my worksheets
without having to ensure the other users have "morefunc" installed. Thanks
again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.


Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well. Works
great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well. It
solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Conditional subtotal

Great info re. embedding an add-in. Thanks again!

--
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.


Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well. Works
great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well. It
solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

You're welcome!

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Great info re. embedding an add-in. Thanks again!

--
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.


Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well.
Works great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well.
It solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah








  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Conditional subtotal

Below is from a few weeks ago, but I have a further question. I can't find
the "embed-add-in" stuff in Excel 2007. I know I've seen it in XL2002
before, but now I'm using 2007. Any ideas?

--
Regards,
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.


Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well. Works
great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well. It
solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

I have Morefunc v5.06 installed on my machine. This version can't be embeded
in Excel 2007. I don't know if there's a newer version available that will
embed in Excel 2007. Check the Morefunc website

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Below is from a few weeks ago, but I have a further question. I can't
find the "embed-add-in" stuff in Excel 2007. I know I've seen it in
XL2002 before, but now I'm using 2007. Any ideas?

--
Regards,
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.


Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well.
Works great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well.
It solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can simplify
that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a conditional
subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah








  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 48
Default Conditional subtotal

Thanks, Biff. That's the version I have too, and as far as I have been able
to determine it is the latest. (Some of the links were dead when I looked
recently.) Much obliged.

--
Sarah

"T. Valko" wrote in message
...
I have Morefunc v5.06 installed on my machine. This version can't be
embeded in Excel 2007. I don't know if there's a newer version available
that will embed in Excel 2007. Check the Morefunc website

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Below is from a few weeks ago, but I have a further question. I can't
find the "embed-add-in" stuff in Excel 2007. I know I've seen it in
XL2002 before, but now I'm using 2007. Any ideas?

--
Regards,
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.

Actually, you can embed the add-in with the file so others won't have to
have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this to
sum ranges whose criteria ranges are from another column, as well.
Works great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well.
It solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can
simplify that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a
conditional subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah










  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional subtotal

Connecting to the Morefuunc site is pretty erratic. Sometimes you can,
sometimes you can't. Whenever I suggest the add-in to someone I always
include a link to a mirror site where you can download it.

http://xcell05.free.fr/morefunc/english/index.htm

Alternate download site:

http://www.download.com/Morefunc/300...-10423159.html

IMO, it's one of the better add-ins available.

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Thanks, Biff. That's the version I have too, and as far as I have been
able to determine it is the latest. (Some of the links were dead when I
looked recently.) Much obliged.

--
Sarah

"T. Valko" wrote in message
...
I have Morefunc v5.06 installed on my machine. This version can't be
embeded in Excel 2007. I don't know if there's a newer version available
that will embed in Excel 2007. Check the Morefunc website

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Below is from a few weeks ago, but I have a further question. I can't
find the "embed-add-in" stuff in Excel 2007. I know I've seen it in
XL2002 before, but now I'm using 2007. Any ideas?

--
Regards,
Sarah

"T. Valko" wrote in message
...
You're welcome. Thanks for the feedback!

I can share my worksheets without having to
ensure the other users have "morefunc" installed.

Actually, you can embed the add-in with the file so others won't have
to have the add-in installed on their machine.

When you install Morefunc it adds a new item to the Tools menu.

ToolsMorefuncEmbed Morefunc in the workbook

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Terrific, Biff! You did the impossible. :-)

I'm glad you posted the first way also, because I want to apply this
to sum ranges whose criteria ranges are from another column, as well.
Works great!

I did meanwhile also find Laurent Longre's "morefunc" Add-In as well.
It solves the problem via a custom function called ARRAY.FILTER.

See http://xcell05.free.fr/morefunc/english/

But I like having your solution, for one, because I can share my
worksheets without having to ensure the other users have "morefunc"
installed. Thanks again! Very slick indeed.

--
Sarah

"T. Valko" wrote in message
...
Improvement...

Since the sum range and the criteria range are the same we can
simplify that slightly.

=SUMPRODUCT(SUBTOTAL(9,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330))

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this...

=SUMPRODUCT(SUBTOTAL(2,OFFSET(G3:G33,ROW(G3:G33)-ROW(G3),0,1)),--(G3:G330),G3:G33)

--
Biff
Microsoft Excel MVP


"Sarah H." wrote in message
...
Hi, guys,

I searched around on the web but I can't find how to do a
conditional subtotal in Excel 2007.

E.g., =subtotal(9,g3:g330) (if that would only work). It seems
impossible.

Thanks for any insight,
Sarah










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
Conditional SUBTOTAL Dallman Ross Excel Discussion (Misc queries) 3 June 22nd 08 11:40 AM
Conditional Subtotal in table Esh Excel Discussion (Misc queries) 3 December 20th 07 04:40 PM
conditional subtotal function dreamz Excel Worksheet Functions 3 August 17th 06 03:19 PM
conditional subtotal counting JessJ Excel Worksheet Functions 4 November 11th 05 02:59 PM
Conditional SUBTOTAL M.Siler Excel Discussion (Misc queries) 12 June 29th 05 01:11 AM


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