If the value does appear more than once, we run another IF + COUNTIF combo.
So, at each row, the formula checks the count inside the range up to the current row.
Each additional column also needs to be entered as an expanding range.
If the value does appear more than once, we run another IF + COUNTIF combo.
So, at each row, the formula checks the count inside the range up to the current row.
Each additional column also needs to be entered as an expanding range.