Cell refererence

pedram

New Member
Joined
Aug 12, 2014
Messages
27
Hi All this is my problem:
I would like to make a cell reference variable depending on another cell.
So if i write in cell C1 =B(A1) it equals cell B1
I want C2 cell to look into column B and use the row that A2 indicates ( so it will be B3).

If i change A1 from 1 to 88 i would want C1 to have the formula =B88..
A

<!--StartFragment--> <colgroup><col width="65" style="width:65pt"> </colgroup><tbody>
</tbody>

BC
1andrew=B1
3roger=B3
5bob
=B15
7ted=B7
pete

<tbody>
</tbody>


THanks for you help
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Sounds like you're looking for INDIRECT:


Excel 2012
ABC
11andrewandrew
23rogerbob
35bobpete
47ted0
55petepete
Sheet1
Cell Formulas
RangeFormula
C1=INDIRECT("B"&A1)
C2=INDIRECT("B"&A2)
C3=INDIRECT("B"&A3)
C4=INDIRECT("B"&A4)
C5=INDIRECT("B"&A5)


HTH,
 
Upvote 0
Sounds like you want to use something like indirect maybe?


the below into c1 and copied down would work.
Code:
=INDIRECT("b" & A1,TRUE)


*** Edit *** Too slow :) but I learnt you don't need the True then, I though you did to specify the A1 style rather than r1c1 but i learnt something.
 
Upvote 0

Forum statistics

Threads
1,214,553
Messages
6,120,176
Members
448,948
Latest member
spamiki

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