Registriert seit: 25.07.2022
Version(en): 2016
Hi experts,
I would like to create a summary Excel-sheet which refers to several other Excel-sheet A_1 to Excel sheet A_100.
e.g.
in A1 of summary: =C:\Test\[A_1.xlsx]Sheet1'!$A$1
to
A100 of summary: =C:\Test\[A_100.xlsx]Sheet1'!$A$1
The referencing works well, but I don`t want to define each reference cell by cell.
With concetenate I can create the text for the formulas with the increasing file number easily.
Is there a way to execute this text in another cell as formula to create the references?
Any other idea to solve this is very much welcome. Thanks in advance for your help.
Registriert seit: 10.04.2014
Version(en): 97-2019 (32) + 365 (64)
25.07.2022, 20:33
(Dieser Beitrag wurde zuletzt bearbeitet: 25.07.2022, 20:34 von schauan.)
Hello,
Zitat:With concetenate I can create the text for the formulas with the increasing file number easily.
Create the formulas p.e. with # (and not =)
Use Search & Replace to replace # with = and the formulas work.
Another way is to use a vba-makro.
. \\\|/// Hoffe, geholfen zu haben.
( ô ô ) Grüße, André aus G in T
ooO-(_)-Ooo (Excel 97-2019+365)
Folgende(r) 1 Nutzer sagt Danke an schauan für diesen Beitrag:1 Nutzer sagt Danke an schauan für diesen Beitrag 28
• Happyleptic
Registriert seit: 25.07.2022
Version(en): 2016
Nice workaround. Thanks for the great idea!
While replacing # by = a window pops up prompting a user input to select the file, if the referenced file is not open (in my case the reference file is not yet existing and will be created in an iterative process). Closing the window still updates the value, so it works.
However I wonder if there is a more elegant way to avoid manually closing the pop up window. Becomes quite tediuos if the file contains x referenced fields.
Does a vba macro allow programming while avoiding this issue?
Registriert seit: 10.04.2014
Version(en): 97-2019 (32) + 365 (64)
Hello,
Zitat: a window pops up prompting a user input to select the file
replace the # in your formulas after creating the referenced files.
If you create new formulas to non existing files, the popup-window comes every time. But when you open the file next time, you can reject the actualisation of connections.
with vba, you can look for the files and set new formulas only, when the referenced files exists.
. \\\|/// Hoffe, geholfen zu haben.
( ô ô ) Grüße, André aus G in T
ooO-(_)-Ooo (Excel 97-2019+365)
Folgende(r) 1 Nutzer sagt Danke an schauan für diesen Beitrag:1 Nutzer sagt Danke an schauan für diesen Beitrag 28
• Happyleptic
Registriert seit: 25.07.2022
Version(en): 2016
Thank you for your support. Indeed super helpful. Issue resolved.