formula help

chaju

Board Regular
Joined
Mar 24, 2002
Messages
82
Suppose I have column A a list of sheet's name (those sheet's name exist in that workbook), such that:
CELL A1 : apple
What I want is CELL B1 links to the sheet named in CELL A1: ='apple'!C3 ,
Is there a quicker method instead of editing each formula if I have a lot of sheet's name in column A...
Thanks for all your help
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi Chaju, Long time no see on here :)
Are your formulas all simple like your Eg.?
If so, it's not so heard, i think. please try this.

<pre>
Sub test()
On Error Resume Next
Dim arr, i As Long
With Range([a1], [A65536].End(xlUp).Offset(, 1))
arr = .Formula
For i = LBound(arr) To UBound(arr)
arr(i, 2) = "='" & arr(i, 1) & "'!" & _
Right(arr(i, 2), Len(arr(i, 2)) - 1)
Next
.Formula = arr
End With
End Sub
</pre>
 
Upvote 0
HAHA Nice to speak to you again...
Anywhere I don't have to use Macro to solve this problem? Any other methods?
Cheers Colo..
 
Upvote 0
hI LASW10... IT'S SEEM DOESN'T WORK.. IT DISPLAY THE WHOLE FORMULA INSTEAD OF GIVING THE VALUE
 
Upvote 0
is "apple" in speech marks in A1? If it is remove them so it's simply apple - this would explain why it's appearing as a text string.
 
Upvote 0
if you send me it I can fix it - probably need to see it to know why.

Is 00100 in the same workbook and will the sheet always begin with 00?
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

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