Hi all,
Is it possible to Countif only visible cells?
Rows are continually hidden and made visible again, but the range is constant.
btw. I don't like to use a filter in this layout.
Hi all,
Is it possible to Countif only visible cells?
Rows are continually hidden and made visible again, but the range is constant.
btw. I don't like to use a filter in this layout.
Chip has a UDF for visible cells at this page
see SUBTOTAL ... if you're not using AutoFilter then see the 101+ functions.
If you want to conduct conditional calcs then you need to either
a) embed the SUBTOTAL within an OFFSET within a SUMPRODUCT
b) use a Visible Flag in a column at source (eg a SUBTOTAL COUNTA per row which will return 1 (visible) or 0 (not visible))
then you might consider using a SUMIF if single condition eg SUMIF(criteriacolumn,criteria,subtotalcountacolumn)
Last edited by DonkeyOte; 10-30-2010 at 03:57 AM.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Perhaps re-read my prior post ?Originally Posted by Jonathan78
Note: the 101+ don't exist prior to XL2003Originally Posted by D.O
Now I understand the 101+ functions.
Thanks for helping!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks