Having trouble with syntax on Indirect

West Man

Well-known Member
Joined
Mar 27, 2006
Messages
1,175
I'm wanting to pull the contents of cell in another sheet The sheet name is determined by cell B3 in a sheet named report selection (this is a year). The column is determined by VLOOKUP('Report Selection'!B2,Work!A1:B12,2,FALSE).
Code:
this is what I have but it is incorrect  =INDIRECT(""""&'Report Selection'!B3&"!"&VLOOKUP('Report Selection'!B2,Work!A1:B12,2,FALSE)&1)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Solved. I broke the formula into parts and combined the parts into the indirect and was able to get it to work
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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