Counting frequency between 2 zeros

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
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: 6

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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,216,075
Messages
6,128,662
Members
449,462
Latest member
Chislobog

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