# Using formulae in cell references

#### smugtim

##### Board Regular
Hello,

I need to write a formula in Excel with a cell reference which changes with the result of another cell's contents.

SIMPLE EXAMPLE: A formula in cell A1 returns the value x. I want to write a formula which will return a value for 'B10-Bx'.

E.g. A1 contains a formula returning value 6. B10 contains value 230, B6 contains the value 50. I need a formula which will calculate B10-B6 (taking the '6' from A1's formula result) and returning '180'.

Any help would be much appreciated. Thank you!

Tim

### Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try:

=B10-INDIRECT("B"&A1)

That's great - thanks for the ultra-quick reply. I thought there must be a simple way to do this but couldn't find the answer in Excel Help.

Thanks again,

Tim

Replies
7
Views
270
Replies
2
Views
291
Replies
6
Views
597
Replies
5
Views
275
Replies
6
Views
116

1,217,760
Messages
6,138,447
Members
450,137
Latest member
HANHAN

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