Cell References

driver49

New Member
Joined
Nov 5, 2002
Messages
7
This is sort've a "reverse absolute cell references" question.

I have a formula that references, say, cell F9.

I instert a row, the info moves to row 10, and the formula updates to F10.

I don't want it to do that. I will put new info in row 9, and I want the original formula to continue to work with the info in F9

$-signs in the formula won't do the trick. Is there any way to make the cell reference constant regardless of where the current cell content goes?

Thanks,

--PS
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
=INDIRECT("F9")

or

=OFFSET(F:F,8,,1,1)

or

=INDEX(F:F,9)

Note: The last one (INDEX) is probably the best because it isn't volatile.
This message was edited by Mark W. on 2002-11-06 11:12
 

driver49

New Member
Joined
Nov 5, 2002
Messages
7
Wow... that was FAST. And helpful. "=INDIRECT" solves my problem.

Now, can somebody tell me what "INDEX" and "OFFSET" do?

Thanks,

--PS
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
INDEX

Returns a value or the reference to a value from within a table or range. There are two forms of the INDEX() function: array and reference. The array form always returns a value or an array of values; the reference form always returns a reference.

OFFSET

Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells. The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and the number of columns to be returned.
 

Forum statistics

Threads
1,143,640
Messages
5,719,987
Members
422,257
Latest member
Calion

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