View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Claus Busch Claus Busch is offline
external usenet poster
 
Posts: 3,872
Default Countifs between a certain value

Hi,

Am Fri, 3 Jun 2016 06:26:27 -0700 (PDT) schrieb :

I need to count the values between a set value, and then only show how many times this count was more than 5. The values counted is variable only the between value is set

This is in the same column lets say from a1. DD is your set value, in the below example my answer should be 2 ( there are only 2occurrences where there are more than 5 data sets between the DD parameter)


you also can do it with a helper column.
Write in B2:
=IF(A2="DD",COUNT($A$1:A2)-SUM(B$1:B1),"")
and copy down.
Then you can count the series 5 with:
=COUNTIF(B:B,"5")


Regards
Claus B.
--
Windows10
Office 2016