Inculde a cell value in a formula link

shadow12345

Well-known Member
Joined
May 10, 2004
Messages
1,238
I have the below formula in a sheet, all it does is copies values into a summary sheet. There are around 40 of these linking to different points for each day. The file rubber position is saved daily in the format i:\rubber position dd.mm.yy.xls

='I:\[RUBBER POSITION 16.06.08.xls]RUBBER POSITION'!$BP$205

which works fine, however what i want to do is to rewrite this formula to do the below

=='I:\[RUBBER POSITION (the value in cell b3 the date im trying to target in the formula) xls]RUBBER POSITION'!$BP$205
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi

You either need VBA or the morefunc add-in to do this as the target file is closed. If it was open, you could use INDIRECT, but as soon as the file is closed these formulas would return #REF! errors
 
Upvote 0
ok, what is the best way to replace using VBA? I looked at maybe trying find and replace ?

a start would do, i should be alright expanding the ranges and adjusting it and so on.
 
Upvote 0
sorry, thats a little beyond me. Copy the function, got that part, how would i apply this into what i need to do?



as in, put the value into the formula?

=i\rubber position & getvalue (p f s a) . xls & rubberpostion bp205

something like that?
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,918
Members
449,195
Latest member
Stevenciu

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