Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count only visible formula results
I have a column which has a formula resulting in "X" or blank. I would like
to count the occurences of "X" but only what is visible by the autofilter. SUBTOTAL counts visible cells regardless of "X or blank and COUNTIF(H2:H2000,"X") counts all "X" visible and hidden. I only want to count the results = "X" that are visible. Can someone help? Thanks, Joe M. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count only visible formula results
Try
=SUMPRODUCT(SUBTOTAL(3,OFFSET(H2:H2000,ROW(H2:H200 0)-MIN(ROW(H2:H2000)),,1))*(H2:H2000="X")) Mike "Joe M." wrote: I have a column which has a formula resulting in "X" or blank. I would like to count the occurences of "X" but only what is visible by the autofilter. SUBTOTAL counts visible cells regardless of "X or blank and COUNTIF(H2:H2000,"X") counts all "X" visible and hidden. I only want to count the results = "X" that are visible. Can someone help? Thanks, Joe M. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Count only visible formula results
Mike,
Thanks, it works but I wish I understood this formula. Where can I see it broken down to better understand how it works? Thanks, Joe M. "Mike H" wrote: Try =SUMPRODUCT(SUBTOTAL(3,OFFSET(H2:H2000,ROW(H2:H200 0)-MIN(ROW(H2:H2000)),,1))*(H2:H2000="X")) Mike "Joe M." wrote: I have a column which has a formula resulting in "X" or blank. I would like to count the occurences of "X" but only what is visible by the autofilter. SUBTOTAL counts visible cells regardless of "X or blank and COUNTIF(H2:H2000,"X") counts all "X" visible and hidden. I only want to count the results = "X" that are visible. Can someone help? Thanks, Joe M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count only visible results of formula | Excel Discussion (Misc queries) | |||
Making formula results not visible in a cell | Excel Worksheet Functions | |||
count if on Visible - Filtered | Excel Worksheet Functions | |||
array formula count results of two tests | Excel Worksheet Functions | |||
count only visible cells | Excel Worksheet Functions |