Calculating without including Hidden Cells

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

PLEASE HELP

I have a 30 page excel worksheet that I need to get a sum for. I have
hidden the cells that don't need to be included in the total, but I need to
keep them in the work- sheet. How do I calculate these cells without having
to delete them. I thought about copy/pasting them into another worksheet to
see if they would come without the hidden cells, but thought their had to be
an easier solution?

Please help...Thanks in Advance
 
LiquidFire, use subtotal, something like this

=SUBTOTAL(109,A1:A5000)
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
 
If you have Excel version 2002 or earlier, you can use the Subtotal
function to sum the cells that are visible after a filter has been
applied to a list. For example, =SUBTOTAL(9,A2:A200)
would sum the visible filtered cells in column A.

However, if you manually hide the rows, the SUBTOTAL function will sum
all the cells, including the hidden ones.

If you have Excel 2003, you can ignore values in filtered and manually
hidden rows, by changing the first argument in the SUBTOTAL function.
For example: =SUBTOTAL(109,A2:A200)
would sum only the visible cells in column A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top