the spreadsheet is very large -so example not loaded - if necessary, i can try setting up an example
=INDEX(INDIRECT("'"&$C10&"'!AI:AI"),MATCH(D$8,INDIRECT("'"&$C10&"'!AA:AA"),0))
variations of this is in 52 rows and about 30 columns - so hence the question , as any modification on sheet2 which is referenced by C10 (actually 52 different sheets) reference, is not reflected in the formula columns
this formula or version is used in a large spreadsheet - which looks up values
on the sheet1 (summary)
in column C , I have all the names of the sheets (actually product codes)
in the example sheet2
then in cell D8 , i have a week number to lookup
in the product sheet , i have a weekly entry - so i have the week numbers in a column and results in other columns
so the above formula
will return the result as follows
=INDEX(INDIRECT("'"&$C10&"'!AI:AI"),MATCH(D$8,INDIRECT("'"&$C10&"'!AA:AA"),0))
returns the value in column AI for the sheet name in C10
and then looks up the week number from sheet1 D8 and matches with the column of week numbers on sheet 2 column AA
all works great
NOW the issue
if i insert a column into the sheet2 , everything moves along
so
AI becomes AJ
and
AA becomes AB
BUT because the values in the indirect formula are hardcoded , they do not change and so i get errors
how can i modify the indirect formula , so its relative addressing sheet2 and not hardcoded , therefore any changes to the columns in sheet2 - will be modified on the sheet 1 indirect formula
thanks
Bookmarks