How can I sum visble rows then exclude hidden rows in my calculation.
How can I sum visble rows then exclude hidden rows in my calculation.
T-ogether
E-veryone
A-chieves
M-ore
One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.
If the rows are hidden by a filter, you can use the Subtotal function. Otherwise you would need a User Defined Function.
Regards,
Rory
Microsoft MVP - Excel
In Excel 2003, extra functon nums were introduced, so you can use
=SUBTOTAL(109,rng)
to exclude rows hidden manually.
Last edited by mdmackillop; 09-18-2007 at 01:15 AM. Reason: Edited to correct formula as Post #7
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
Good to know - I knew there were additional ones in 2007, but did not know about 2003. Thanks.
Regards,
Rory
Microsoft MVP - Excel
Whats that 10,9 used for?
Originally Posted by xld
T-ogether
E-veryone
A-chieves
M-ore
One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.
Sorry I got it... Reading on the Help menu clears me out. Thanks for the Idea or formula...
T-ogether
E-veryone
A-chieves
M-ore
One who asks a question is a fool for five minutes; one who does not ask a question remains a fool forever.
It was my error, 10,9 should have been 109, the function num to SUM excluding hidden rows.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber