# formula help

#### chaju

##### Board Regular
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...

### Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi Chaju, Long time no see on here
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>

HAHA Nice to speak to you again...
Anywhere I don't have to use Macro to solve this problem? Any other methods?
Cheers Colo..

=indirect(a1&"!a3")

so if a1 were apple

=apple!a3

hI LASW10... IT'S SEEM DOESN'T WORK.. IT DISPLAY THE WHOLE FORMULA INSTEAD OF GIVING THE VALUE

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.

I Have 00100 in Cell A1 (in text format).. any more ideas?

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?

Replies
2
Views
380
Replies
21
Views
614
Replies
2
Views
216
Replies
0
Views
80
Replies
1
Views
224

1,219,936
Messages
6,151,066
Members
451,006
Latest member
dhinze84

### 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.

### Which adblocker are you using?

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

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