# cell reference e.g. "=A30" as "=A[formula tha

#### willynilly82

##### New Member
How can I have a formula for a cell reference instead of just a number?

Normally I reference a cell by typing "=A30" (for example). But what I need is the number, or row, to be the result of a formula. e.g.

"=A[result of a formula that equals 30]"

Is this possible? Thanks.

### Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I'm not quite sure what you are asking but you could use the INDIRECT worksheet function.

=INDIRECT("A" & B1)

Where B1 has the result of your formula.

Whoo hoo! That works great. Thanks.

Re: cell reference e.g. "=A30" as "=A[formula

willynilly82 said:
How can I have a formula for a cell reference instead of just a number?

Normally I reference a cell by typing "=A30" (for example). But what I need is the number, or row, to be the result of a formula. e.g.

"=A[result of a formula that equals 30]"

Is this possible? Thanks.

=INDEX(A:A,B1)

where B1 houses a row value like 30.

You can also put the formula directly into the cell , instead of refering to B1

Example of total formula in same cell ...
=INDIRECT("A" & SUM(B1:D1))

ie if cells B1 + C1 + D1 = 25 then your indirect refers to cell A25.

Replies
4
Views
228
Replies
3
Views
134
Replies
1
Views
148
Replies
5
Views
575
Replies
1
Views
173

1,203,524
Messages
6,055,904
Members
444,832
Latest member
bgunnett8

### 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.

### Which adblocker are you using?

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

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