Jul 28 2021 12:49 PM - edited Jul 28 2021 01:00 PM
It is my understanding that we can't use a named range that consists of non-contiguous cells in a countif formula. eg: COUNTIF(named_range,C280). Is that correct?
If this is correct, it makes me wonder what the point of named ranges is. It seems like it should be used to make challenging ranges easier to maintain, but it's pointless if it can't be used this way.
Jul 28 2021 01:22 PM
SolutionYou are correct, but that is not a limitation of named ranges, but of the COUNTIF function (and related functions). Other functions, such as SUM and COUNTA, work fine with named ranges consisting of non-contiguous cells.
Jul 28 2021 01:43 PM
Jul 28 2021 01:22 PM
SolutionYou are correct, but that is not a limitation of named ranges, but of the COUNTIF function (and related functions). Other functions, such as SUM and COUNTA, work fine with named ranges consisting of non-contiguous cells.