ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Please HELP! (https://www.excelbanter.com/excel-programming/273119-please-help.html)

LC[_2_]

Please HELP!
 
In excel, the subtotal function ignores all other subtotal
functions.

Is there a way for the subtotal function to ignore other
function/formulas like sumproduct, sum, product, etc. ?

This is what I'm using:

Range(nrowcol).Activate
ActiveCell.Range(nrowcol).Select
Selection.subtotal GroupBy:=groups, Function:=xlSum, _
TotalList:=varr, Replace:=False, PageBreaks:=False, _
SummaryBelowData:=True

Thank you.


Tom Ogilvy

Please HELP!
 
No, but subtotal does perform many summary functions.

Regards,
Tom Ogilvy

LC wrote in message
...
In excel, the subtotal function ignores all other subtotal
functions.

Is there a way for the subtotal function to ignore other
function/formulas like sumproduct, sum, product, etc. ?

This is what I'm using:

Range(nrowcol).Activate
ActiveCell.Range(nrowcol).Select
Selection.subtotal GroupBy:=groups, Function:=xlSum, _
TotalList:=varr, Replace:=False, PageBreaks:=False, _
SummaryBelowData:=True

Thank you.





All times are GMT +1. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com