How to read value from cell in formula INDIRECT?

sh1ne

New Member
Joined
Jul 3, 2017
Messages
33
Office Version
  1. 2016
Platform
  1. Windows
Hi guys,

there is possible to read a value from cell where I put the name of sourcefile as "string" and naming that cell then use name of cell in formula excel?

for example:
3N1CfLg.png

as you see, the first table is working but before I run macro without choosing manually that file I need to put in on for example Mapped drive/sharedrive etc.
The next table is not working = always need to choose manually file, even if its opened in excel or in the same folder.
Want to add - In another IF(ISERROR(VLOOKUP(INDIRECT) example its working. What is wrong?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
=VLOOKUP(RC[-2],INDIRECT("'"&sourcefile&"DC Table'!R2C2:R242C5",TRUE),4,0)
 
Last edited:
Upvote 0
Thanks for reply, its working but meanwhile Ive solved that problem. Thx
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top