W
Walter Briscoe
It took me some time to find that I have broken a hidden constraint in a
file that I have:
I have many sheets which need to have consistent column titles.
In Sheet1, I might have
A B C D E F G
1 x x x Club Diamond Heart Spade
In sheet2, I might also have
A B C D E F G
1 x x x Club Diamond Heart Spade
where D1 is =Sheet1!$D$1, etc.
If I insert a column before D in sheet 1,
D1 becomes =Sheet1!$E$1, etc.
Further data in sheet 2 expects corresponding columns to have the same
numbers in both sheets.
e.g. D2 is =VLOOKUP($B$2,rangename,COLUMN())
That expectation quietly breaks.
I hope data validation can be used to stop me moving columns in Sheet1.
How, please?
I googled validation in titles and found Debra Dalgleish mentioning
grouping worksheets, which is likely to be useful.
I tried Data Validation. I got "You may not use references to other
worksheets or workbooks for Data Validation criteria" when I tried to do
a cross sheet reference. A reference to a name works, but the definition
of the name changed when I inserted a column.
file that I have:
I have many sheets which need to have consistent column titles.
In Sheet1, I might have
A B C D E F G
1 x x x Club Diamond Heart Spade
In sheet2, I might also have
A B C D E F G
1 x x x Club Diamond Heart Spade
where D1 is =Sheet1!$D$1, etc.
If I insert a column before D in sheet 1,
D1 becomes =Sheet1!$E$1, etc.
Further data in sheet 2 expects corresponding columns to have the same
numbers in both sheets.
e.g. D2 is =VLOOKUP($B$2,rangename,COLUMN())
That expectation quietly breaks.
I hope data validation can be used to stop me moving columns in Sheet1.
How, please?
I googled validation in titles and found Debra Dalgleish mentioning
grouping worksheets, which is likely to be useful.
I tried Data Validation. I got "You may not use references to other
worksheets or workbooks for Data Validation criteria" when I tried to do
a cross sheet reference. A reference to a name works, but the definition
of the name changed when I inserted a column.