View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld[_2_] Ron Rosenfeld[_2_] is offline
external usenet poster
 
Posts: 1,045
Default Counting dates in filtered column

On Tue, 5 Mar 2013 16:01:43 +0000, curleyy wrote:


Hi all,

I'm trying to count the number of cells that contain a date in a
filtered column. I've been using the following formula, but it keeps
coming back with a value of 0, even though there are 3 in the filtered
row;

=SUMPRODUCT(--('Fixture
Status'!J3:J1000="=0"),SUBTOTAL(3,OFFSET('Fixtur e
Status'!J3,ROW('Fixture Status'!J3:J1000)-ROW('Fixture Status'!J3),0)))

Any suggestions as to where I'm going wrong??


why not just use the Subtotal(Count .... function?

=subtotal(2,'Fixture Status'!J3:J1000)