Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Excel Cells with external sheets

Hello Experts Exchange
I have a spreadsheet that has formulas that point to different spreadsheets, for example a cell has the following formula.

='\\ntserver2\Losses\09\AC4\UKL\[UKLBlue593.xls]Lost Time'!C32

Is it possible that I have this formula built by have the file location in a cell?

So for example.
Cell A1 has this in it;
'\\ntserver2\Losses\09\AC4\UKL\[UKLBlue593.xls]Lost Time'!

Then cell A2 uses cell A1 to make it formula, so it will have;
=A1 & C32

Then it will get the information from cell c32 from the spreadsheet detailed in A1?

Regards

SQLSearcher
0
SQLSearcher
Asked:
SQLSearcher
2 Solutions
 
Phillip BurtonDirector, Practice Manager and Computing ConsultantCommented:
Almost - you can use INDIRECT, but the C32 will need to be in quotation marks:

=INDIRECT(A1 & "C32")

Open in new window

0
 
Rob HensonIT & Database AssistantCommented:
I was also thinking INDIRECT but unfortunately INDIRECT does not work when the source file is closed.

There is an addition to INDIRECT available from a MOREFUNC add-in.

This gives INDIRECT.EXT which does work when the source file is closed.

Thanks
Rob H
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now