Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hommer
 
Posts: n/a
Default sum only visible cells

Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to test a
cell is hiden or not then decide if it should be included in the calculation?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default sum only visible cells

If by chance, the cells are hidden by a filter, the SUBTOTAL function may
work for you. In a filtered list, the SUBTOTAL function only includes
visible cells.
Check Excel help for details.

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"hommer" wrote:

Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to test a
cell is hiden or not then decide if it should be included in the calculation?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default sum only visible cells

Are they hidden or filtered? If filtered you can use

=SUBTOTAL(9,Full_range)

will sum only visible cells that have been filtered, if they are hidden you
can use

=SUBTOTAL(109,Full_range)

the last function was introduced in Excel 2003 so for previous versions you
can't use it so for 97-2002 you need to write a UDF

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"hommer" wrote in message
...
Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to test
a
cell is hiden or not then decide if it should be included in the
calculation?

Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
0-0 Wai Wai ^-^
 
Posts: n/a
Default sum only visible cells


What's UDF?
How to write a UDF?

"Peo Sjoblom" ¦b¶l¥ó
¤¤¼¶¼g...
Are they hidden or filtered? If filtered you can use

=SUBTOTAL(9,Full_range)

will sum only visible cells that have been filtered, if they are hidden you
can use

=SUBTOTAL(109,Full_range)

the last function was introduced in Excel 2003 so for previous versions you
can't use it so for 97-2002 you need to write a UDF

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"hommer" wrote in message
...
Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to test
a
cell is hiden or not then decide if it should be included in the
calculation?

Thanks!





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default sum only visible cells

http://makeashorterlink.com/?G5E82181D


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"0-0 Wai Wai ^-^" wrote in message
...

What's UDF?
How to write a UDF?

"Peo Sjoblom" ¦b¶l¥ó
¤¤¼¶¼g...
Are they hidden or filtered? If filtered you can use

=SUBTOTAL(9,Full_range)

will sum only visible cells that have been filtered, if they are hidden
you
can use

=SUBTOTAL(109,Full_range)

the last function was introduced in Excel 2003 so for previous versions
you
can't use it so for 97-2002 you need to write a UDF

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"hommer" wrote in message
...
Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to
test
a
cell is hiden or not then decide if it should be included in the
calculation?

Thanks!









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JLatham
 
Posts: n/a
Default sum only visible cells

UDF = User Defined Function

Peo Sjoblom's post above links to a page showing how to write one and how to
access it in a cell.

"0-0 Wai Wai ^-^" wrote:


What's UDF?
How to write a UDF?

"Peo Sjoblom" ¦b¶l¥ó
¤¤¼¶¼g...
Are they hidden or filtered? If filtered you can use

=SUBTOTAL(9,Full_range)

will sum only visible cells that have been filtered, if they are hidden you
can use

=SUBTOTAL(109,Full_range)

the last function was introduced in Excel 2003 so for previous versions you
can't use it so for 97-2002 you need to write a UDF

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"hommer" wrote in message
...
Hi, all!
Is there a way to sum just the visible cells in a range?
Excel lets one copy or select only visible cells. Can I use an IIF to test
a
cell is hiden or not then decide if it should be included in the
calculation?

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
Pasting in visible cells only Howieben Excel Worksheet Functions 2 May 4th 06 08:55 PM
count only visible cells bnkone Excel Worksheet Functions 2 March 31st 06 01:39 AM
In Excel - a function or operation for "view visible cells" gpyogi Excel Discussion (Misc queries) 3 March 17th 05 06:48 PM
AutoFill Visible Cells with Months Elaine New Users to Excel 3 March 16th 05 10:13 PM
SUMPRODUCT TO CALCULATE VISIBLE CELLS ONLY Lisa Excel Worksheet Functions 4 January 11th 05 12:58 PM


All times are GMT +1. The time now is 07:54 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"