Realative cells

Devilsbane

New Member
Joined
Apr 30, 2010
Messages
11
One thing that is great about excel is that when you cut a cell with an equation in it, the cell numbers can be modified to be pasted anywhere.

But what if I don't want this to happen? Let me explain.

Column A is a name. Column B is a score. Column C is the points behind. Column C is calculated by the top score(which should be located in B2) minus the score found in the cell on that row.

However when I resort this row, I find that a lot of the points behind cells error out because when the entry moves up the B2 in that equation becomes B1 and then goes off the page.

So can I fix the equations in Column C so that no matter what they don't change equations.

Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Not entirely clear - perhaps you mean something along the lines of:

Code:
C2:
=INDEX($B:$B,2)-$B2
copied down to remaining rows
 
Upvote 0
Not entirely clear - perhaps you mean something along the lines of:

Code:
C2:
=INDEX($B:$B,2)-$B2
copied down to remaining rows

I'll give you the credit for solving this one. I used your index function along with ROW() for the index. I know that the equations still move, but they reference their current row and it works wonderfully.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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