Do you need to see the intermediate results in column K:Q?
Why are you using CELL("Contents"… ?
Won't referring to the cell directly do?
=IF(K1<>"-",A1," -")
and if you need to see a leading zero, custom format those cells with 00.
Direct result without intermediate:
=IF(COUNTIFS($A$1:$G$9,A1)>=$I$1,A1, " -")
|