Locking just part of a range, so that it stays the same after adding columns
Hi. I have a very simple formula with a single criterion, like =COUNTIF(C5:5, ">0").
I'm looking for a way to lock the starting column to C. The problem is, the sheet gets new columns all the time. So adding a column would automatically change C to D in the formula. Normally I'd just use INDIRECT for this (=COUNTIF(INDIRECT("C5:5"), ">0")).
But the other problem is, the sheet gets sorted often. So rows go up and down a lot, the formula would reference the wrong row after sorting.
Is there a way to just lock the column part of the range in the formula? Or is this just a syntax thing? The documentation isn't too helpful about this.
Posted May 18, 2018, 4:15 AM UTC
12