Link to sheet at the end.
I created a script that totals up the number of highlighted cells in a column (highlighted cells are the lowest # in each row).
I created a conditional formatting to automatically highlight the lowest number in each row:
Range = B23:I123
=B23=min(filter($B23:$I23,$B23:$I23>0))
The issue is: all the numbers in the row are not entered at the same time, so the conditional formatting can possibly change when a new cell in that row is filled in. When this happens, row 22 (Rounds Won, where the script is), does not re-run.
Meaning, a cell in one of the columns gets unhighlighted, but the total in row 22 stays the same.
HELP! How can I make it so that row 22 recalculates whenever something changes so that the number of highlighted cells in a column always matches the number in that column in row 22?