Easy Question?

msimone

New Member
Joined
Sep 30, 2006
Messages
17
If I have the text "B2" entered into cell A1 and in cell B2 I have the value 5...is there anyway to construct a formula where I reference A1 but it calculates it as 5?

Essentially I want the formula to look at cell A1 and have it point to the value of B2 when I do my calculation. Is this poppycock?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
20,377
Office Version
  1. 365
Platform
  1. Windows
Try...

=INDIRECT(A1)

Hope this helps!
 

msimone

New Member
Joined
Sep 30, 2006
Messages
17
You're awesome! Thanks Domenic!

Another (probably) stupid question, can you use =INDIRECT across worksheets?
 

Domenic

MrExcel MVP
Joined
Mar 10, 2004
Messages
20,377
Office Version
  1. 365
Platform
  1. Windows
You're very welcome! If A1 contains ''Sheet2'!B2...

=INDIRECT(A1)

Or, if A1 contains B2...

=INDIRECT("'Sheet2'!"&A1)

Hope this helps!
 

Forum statistics

Threads
1,171,579
Messages
5,876,284
Members
433,192
Latest member
butterexcel

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
Top