Using Indirect function with a different Sheet

Dave Lucas

New Member
Joined
Dec 15, 2003
Messages
7
I have tried to use the indirect function as follows:
=+INDIRECT('SSI Mapping'!L3) but it returns #Ref is there something specially I need to do to make this work?

Thanks
Dave
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
You can just use directly

='SSI Mapping'!L3

you use INDIRECT when you're creating a cell reference "manually". For example, if you would have in cell A1 the text

B1

and in cell B1 the value 10.

Then the formula

=INDRECT(A1)

would return 10, because its the same as doing

=INDIRECT("B1")

see ?
 
Upvote 0
Yes unfortunately I am using cell L3 to construct the actual location by doing a match through a listing then concatenating "d" onto the front.
so really L3 refers to D1095 on sheet 'SSI Mapping'

Can you still do this?

Dave
 
Upvote 0
Do you have a sheetname exactly SSI Mapping -- no extra spacing? What is the value of SSI Mapping!L3?
 
Upvote 0
If you have e.g. D5 in SSI Mapping L3 it will refere back to the sheet where you have the formula, not in SSI Mapping sheet.
 
Upvote 0
Dave Lucas said:
Yes unfortunately I am using cell L3 to construct the actual location by doing a match through a listing then concatenating "d" onto the front.
so really L3 refers to D1095 on sheet 'SSI Mapping'

Can you still do this?

Dave

Would you post the formula that you have in L3?
 
Upvote 0
Ok, sorry I got the solution
the formula that I have to use in L3 is
"'SSI Mapping'!"&"D"&MATCH(G3,'SSI Mapping'!C1:'SSI Mapping'!C1647,0)
I had to concatenate the spreadsheet name onto the front of the address then use the indirect function Indirect (L3).

Thanks for your help all
Dave
 
Upvote 0
Dave Lucas said:
Ok, sorry I got the solution
the formula that I have to use in L3 is
"'SSI Mapping'!"&"D"&MATCH(G3,'SSI Mapping'!C1:'SSI Mapping'!C1647,0)
I had to concatenate the spreadsheet name onto the front of the address then use the indirect function Indirect (L3).

Thanks for your help all
Dave

=INDEX('SSI Mapping'!$D$1:$D$1647,MATCH(G3,'SSI Mapping'!$C$1:$C$1647,0))

should give you directly what you need.
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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