Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default only count designated rows

I have a spreadsheet that I have hidden some rows because of the size. I
would like to only get the sum of the rows that are not hidden. It seems when
I do the sum function it is counting all the rows including the hidden rows.
Please advise, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default only count designated rows

Have a look in the help index for SUBTOTAL

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Gerald" wrote in message
...
I have a spreadsheet that I have hidden some rows because of the size. I
would like to only get the sum of the rows that are not hidden. It seems
when
I do the sum function it is counting all the rows including the hidden
rows.
Please advise, thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default only count designated rows

Hi,

Try this

=SUBTOTAL(109,A1:A10)

Mike

"Gerald" wrote:

I have a spreadsheet that I have hidden some rows because of the size. I
would like to only get the sum of the rows that are not hidden. It seems when
I do the sum function it is counting all the rows including the hidden rows.
Please advise, thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 94
Default only count designated rows

If you have a field that always has data in it, you could use this in a
different cell:

=subtotal(3,a2:a9999)

=Subtotal() won't count rows hidden by that autofilter.

-kc

"Gerald" wrote:

I have a spreadsheet that I have hidden some rows because of the size. I
would like to only get the sum of the rows that are not hidden. It seems when
I do the sum function it is counting all the rows including the hidden rows.
Please advise, thanks.

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
Looking up a value next to a designated cell g.king Excel Discussion (Misc queries) 3 June 13th 09 04:24 PM
How to substitute whole word with different designated letters? [email protected] Excel Worksheet Functions 4 October 26th 08 10:45 PM
No printing of b/w designated cell patterns WIN Excel Discussion (Misc queries) 1 June 10th 08 01:15 AM
Fitting text in designated columns/rows Craig Excel Discussion (Misc queries) 1 November 9th 06 02:12 PM
Count designated cells VB Excel Worksheet Functions 1 August 3rd 05 02:25 AM


All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"