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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
=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
 
Upvote 0
Wow... that was FAST. And helpful. "=INDIRECT" solves my problem.

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

Thanks,

--PS
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

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