Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jugglertwo
 
Posts: n/a
Default Ignore Hidden Rows in Sum Function?

I had an interesting question asked by a student today.
The have some hidden rows with some numbers in them
throughout a list.
With the remaining/unhidden rows, they want to use the sum
function to add up the numbers. The sum function adds the
hidden rows as they are include in the general range.

1) I realize that they could do =b2+b4+b10+......+b100 but
this takes a lot of time.
2) They want to use =sum(b2:b100)
3) They also will need to do other calculations like
Average, Max and Min so putting them in with Functions
would be more efficient if possible.
4) Is there anyway to ignore the hidden cells in the
formula?
5) I thought at first that I might be able to use the
custom icon for Select Visible Cells in some way but it
doesn't seem to help at all.

Any suggestions would be greatly appreciated !
Thanks!
Jugglertwo
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

=SUBTOTAL() function

In XL 2002 and before, it will only ignore rows hidden by a filter, but 2003
gives you the option to ignore manually hidden rows as well.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Jugglertwo" wrote in message
...
I had an interesting question asked by a student today.
The have some hidden rows with some numbers in them
throughout a list.
With the remaining/unhidden rows, they want to use the sum
function to add up the numbers. The sum function adds the
hidden rows as they are include in the general range.

1) I realize that they could do =b2+b4+b10+......+b100 but
this takes a lot of time.
2) They want to use =sum(b2:b100)
3) They also will need to do other calculations like
Average, Max and Min so putting them in with Functions
would be more efficient if possible.
4) Is there anyway to ignore the hidden cells in the
formula?
5) I thought at first that I might be able to use the
custom icon for Select Visible Cells in some way but it
doesn't seem to help at all.

Any suggestions would be greatly appreciated !
Thanks!
Jugglertwo



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

have them take a look at SUBTOTAL() in XL Help.


In article ,
"Jugglertwo" wrote:

I had an interesting question asked by a student today.
The have some hidden rows with some numbers in them
throughout a list.
With the remaining/unhidden rows, they want to use the sum
function to add up the numbers. The sum function adds the
hidden rows as they are include in the general range.

1) I realize that they could do =b2+b4+b10+......+b100 but
this takes a lot of time.
2) They want to use =sum(b2:b100)
3) They also will need to do other calculations like
Average, Max and Min so putting them in with Functions
would be more efficient if possible.
4) Is there anyway to ignore the hidden cells in the
formula?
5) I thought at first that I might be able to use the
custom icon for Select Visible Cells in some way but it
doesn't seem to help at all.

Any suggestions would be greatly appreciated !
Thanks!
Jugglertwo

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

With xl2002 and earlier, =subtotal() will ignore rows hidded by a filter.

In xl2003, there's additional options you can pass to =subtotal() to tell it to
ignore hidden rows.



Jugglertwo wrote:

I had an interesting question asked by a student today.
The have some hidden rows with some numbers in them
throughout a list.
With the remaining/unhidden rows, they want to use the sum
function to add up the numbers. The sum function adds the
hidden rows as they are include in the general range.

1) I realize that they could do =b2+b4+b10+......+b100 but
this takes a lot of time.
2) They want to use =sum(b2:b100)
3) They also will need to do other calculations like
Average, Max and Min so putting them in with Functions
would be more efficient if possible.
4) Is there anyway to ignore the hidden cells in the
formula?
5) I thought at first that I might be able to use the
custom icon for Select Visible Cells in some way but it
doesn't seem to help at all.

Any suggestions would be greatly appreciated !
Thanks!
Jugglertwo


--

Dave Peterson
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
How Can I copy a sheet that has hidden rows without copying the h. ibrahim Excel Worksheet Functions 1 January 13th 05 01:25 AM
Can't See Rows (not hidden) ChrisW Excel Discussion (Misc queries) 2 January 7th 05 03:25 PM
Can't See Rows (not hidden) Chris Excel Discussion (Misc queries) 1 January 7th 05 02:51 PM
how can i get the slope function to ignore missing data? Delmar Excel Discussion (Misc queries) 0 December 2nd 04 05:55 PM
Use of Exact(or other) function for alternate rows? yusee_ygs Excel Worksheet Functions 2 November 3rd 04 08:44 PM


All times are GMT +1. The time now is 01:58 PM.

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"