After endless hours of tryring to find a solution for my problem I need some help.
I have three files:
- Counters.ods (calc)
- Evidence.ods (calc)
- Raports.odb (base)
Each .ods file has the same amounts of sheets, with the same name corresponding to years: ex. 2018, 2019, 2020, etc. Data between this two files are linked via INDIRECT().
Ex. in cell H2 Evidence.ods I used =INDIRECT("‘file:Counters.ods’#$’"&$J2&"’."&ADDRESS(ROW();2;4)) where J2 correspond to variable of a sheet name.
In Calc .ods files all works fine, but when I go to Base Raports.odb where database is linked to Evidence.ods all cells where I used INDIRECT formula to link data between files contains value: 0
I know that I can link data with simple ex. =‘Counters.ods’#$‘2020’.C2 but it will wont work when someone will create a new sheets and Copy&Paste all the structure.
Is there any solution for that?