Cell reference

  • Thread starter Thread starter AM
  • Start date Start date

AM

Board Regular
Joined
Dec 13, 2006
Messages
99
Hi everyone!

It's possible to do something like this in a cell:

=Sheet" & Range("A1") & "!A1

Thanks a lot.

AM
 

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 everyone!

It's possible to do something like this in a cell?

=Sheet" & Range("A1") & "!B2

The goal is to select the cell A1 in the Sheet1 if Range("A1") =1.

Thanks a lot.

AM
 
Upvote 0
If you were in say Sheet2, and cell B2 (to make the example clearer) in Sheet2 contained 1 then
=INDIRECT("Sheet1!A"&B2)

will return the value of A1 from Sheet1

Cheers

Dave
 
Upvote 0
Hi

Thanks for replying to my question.

I've only had to change a little bit your sugestion deleting the ' that's before the !

=INDIRECT("Sheet" & A1 & "!A1")

Thanks again

AM
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,916
Members
452,949
Latest member
beartooth91

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