Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have å spreadsheet with the following count function:
=COUNTIF(V7:V197;"Closed") =COUNTIF(V7:V196;"Open") This gives me the sum of cells containing Open/Closed. After applying a filter in B:7 I still get the same number of open/closed. Is it possible to use countif, or similar, to count numers of open/closed records in V:7-197 after filtering ? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try
=SUMPRODUCT(SUBTOTAL(3,OFFSET(V7:V197,ROW(V7:V197)-ROW(V7),0,1)),--(V7:V197="Closed")) Mike "Sjur" wrote: I have å spreadsheet with the following count function: =COUNTIF(V7:V197;"Closed") =COUNTIF(V7:V196;"Open") This gives me the sum of cells containing Open/Closed. After applying a filter in B:7 I still get the same number of open/closed. Is it possible to use countif, or similar, to count numers of open/closed records in V:7-197 after filtering ? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm using 2003 and when I try this formula, I get frmula failure on offset
and row(v/),0,1 But thanks for trying "Mike H" wrote: Try =SUMPRODUCT(SUBTOTAL(3,OFFSET(V7:V197,ROW(V7:V197)-ROW(V7),0,1)),--(V7:V197="Closed")) Mike "Sjur" wrote: I have å spreadsheet with the following count function: =COUNTIF(V7:V197;"Closed") =COUNTIF(V7:V196;"Open") This gives me the sum of cells containing Open/Closed. After applying a filter in B:7 I still get the same number of open/closed. Is it possible to use countif, or similar, to count numers of open/closed records in V:7-197 after filtering ? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I can't replicate that error. Did you copy and paste the formula or did you re-type it. Copy and paste is the best option. Mike "Sjur" wrote: I'm using 2003 and when I try this formula, I get frmula failure on offset and row(v/),0,1 But thanks for trying "Mike H" wrote: Try =SUMPRODUCT(SUBTOTAL(3,OFFSET(V7:V197,ROW(V7:V197)-ROW(V7),0,1)),--(V7:V197="Closed")) Mike "Sjur" wrote: I have å spreadsheet with the following count function: =COUNTIF(V7:V197;"Closed") =COUNTIF(V7:V196;"Open") This gives me the sum of cells containing Open/Closed. After applying a filter in B:7 I still get the same number of open/closed. Is it possible to use countif, or similar, to count numers of open/closed records in V:7-197 after filtering ? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
If your having a problem entering the formula here is a simplier, but less sophistocated approach: Create a dummy colum say W. and enter the formula =IF(SUBTOTAL(3,V7),V7,"") Copy it down column W. In two blank cells enter the formulas: =COUNTIF(W7:W197,"closed") =COUNTIF(W7:W197,"open") -- Thanks, Shane Devenshire "Sjur" wrote: I'm using 2003 and when I try this formula, I get frmula failure on offset and row(v/),0,1 But thanks for trying "Mike H" wrote: Try =SUMPRODUCT(SUBTOTAL(3,OFFSET(V7:V197,ROW(V7:V197)-ROW(V7),0,1)),--(V7:V197="Closed")) Mike "Sjur" wrote: I have å spreadsheet with the following count function: =COUNTIF(V7:V197;"Closed") =COUNTIF(V7:V196;"Open") This gives me the sum of cells containing Open/Closed. After applying a filter in B:7 I still get the same number of open/closed. Is it possible to use countif, or similar, to count numers of open/closed records in V:7-197 after filtering ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Openning spesific file in Excel | Excel Discussion (Misc queries) | |||
verify if spesific sheet exist | Excel Discussion (Misc queries) | |||
Go to spesific letter in a list | Excel Discussion (Misc queries) | |||
How to get exact hours above a spesific time? | Excel Discussion (Misc queries) | |||
How to find number of hours past a spesific time | Excel Discussion (Misc queries) |