the first solution jumping to my mind would be one of the two: -
1- either you use advanced filter and copy data to a new sheet where you can
analyse it
or
2- better use Pivot Tables.
Will any of these do?
Khaldoun
Specialized Technologies
Saudi Arabia
--
Khldoun
Specialized Technologies
Saudi Arabia
=SUMPRODUCT((SUBTOTAL(3,OFFSET($B$1,ROW($B$2:$B$20)-ROW($B$1),,1)))*(C2:C20=
"a"))
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Dr Happy" <Dr Ha...@discussions.microsoft.com> wrote in message
news:34F20E01-74A3-442D...@microsoft.com...
Or don't use filters at all, and use pivot tables, hiding what you don't need.
Or - use horribly complicated SUMPRODUCT Formulas.
HTH,
Bernie
MS Excel MVP
"Dr Happy" <Dr Ha...@discussions.microsoft.com> wrote in message
news:34F20E01-74A3-442D...@microsoft.com...
That's cool.
Never thought about using the Subtotal function inside Sumproduct like that.
Regards
Roger Govier
Problem is that it does handle filtered rows, but not rows hidden by some
other method. I posted a solution that incorporated a UDF for that case a
few days ago, which also handles the filtered data. Might just use that as
my standard.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Roger Govier" <ro...@nospamtechnology4u.co.uk> wrote in message
news:439593C1...@nospamtechnology4u.co.uk...
It will handle rows hidden, as opposed to filtered, if you substitute 103 for 3
=SUMPRODUCT((SUBTOTAL(103,OFFSET($B$1,ROW($B$2:$B$20)-ROW($B$1),,1)))*(C2:C20="a"))
This is a feature that is present in Xl2003, and maybe in XL2002(??)
My Excel of choice is still 2000 (£ being my driver :-( ), and that only
goes up to 11, so I didn't know that. Thanks, I have learned something.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Roger Govier" <ro...@nospamtechnology4u.co.uk> wrote in message
news:4395AC58...@nospamtechnology4u.co.uk...
I just checked out XL2002 and it does not exist in that version.
Regards
Roger Govier
Bob Phillips wrote:
> Hi Roger,
>