Very good solution. I like it. And the formulas would have an offsetfunction in them, with your arbitrary cell containing the column to bereferenced (1 or 2).