Counting frequency between 2 zeros

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
391
Office Version
  1. 365
Platform
  1. Windows
Is it poss convert this formula from frequency of clean sheets in a row to scored in a row (as in scoring in as many games as poss without missing)

=MAX(FREQUENCY(IF('Match Database'!$D$5:$D$500=0,ROW('Match Database'!$D$5:$D$500)),IF('Match Database'!$D$5:$D$500<>0,ROW('Match Database'!$D$5:$D$500))))

in the sample image the answer is 9 thats counting between the 2 zeros

Hope this helps

TIA
 

Attachments

  • image_2023-12-31_163137295.png
    image_2023-12-31_163137295.png
    12.7 KB · Views: 7

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Just change the = & <> signs around.
 
Upvote 1
Solution
Can you post some actual data that shows the problem.
 
Upvote 0
Glad it's sorted & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top