I'm trying to track how many days an item was out of stock over a rolling period of time. The formula I am currently using is below. The issue I'm running into is when an item is reported out of stock several times in one day it is reporting out a false number. How can I keep a running total but if it is reported out of stock on the same day that only counts as one time?
Tracker-Open Range 2 refers to the item, Tracker- Open Range 6 refers to the items status and tracker open Range 5 is the number of days
=COUNTIFS({Tracker- Open Range 2}, Item@row, {Tracker- Open Range 6}, "Out of Stock")