I have named several ranges in excel and would like to use them in a formula (countif). Instead of entering the formula and changing it manually all the time, I would like to reference a cell with the name of the appropriate range. For example:
=COUNTIF(C1, A1)
and in C1 write "Range1" or "Range 2" or "Range 3". When I try to do that, however, it doesn't seem to work.
I've also tried using the "Use in Formula" from the Formula ribbon, and pasting the named range into C1 (so that C1 now has "=Range1" for example), but that didn't work.
Does anyone know if such a thing can be done in Excel? Thanks for your help!