Can you "freeze" relative reference?

raduray

New Member
Joined
Dec 13, 2017
Messages
3
I’m trying to do something that seems as it would be fairly simple, but can’t figure out how to do it.


The challenge can be abstracted to a two row spreadsheet:


A B C D E F G H I J
A B C


Row 1 is constants, A, B, C….J
Row 2 is only three columns and the cell values are equal to the cell value above.


What I would like to do, having defined the equation in the second row, is cut and paste the second row and paste it one column over to get:
A B C D E F G H I J
B C D


If I cut and paste the original to move it two columns over, the results should be
A B C D E F G H I J
C D E

And so on..


Any ideas?
 
Last edited by a moderator:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I'm a new user. It seems that tabs aren't recognized and I don't have permission to edit. So I'm reposting the question, but using hyphens to represent blank cells in the second row in order to the the spacing right.

The challenge can be abstracted to a two row spreadsheet:


A B C D E F G H I J
A B C


Row 1 is constants, A, B, C….J
Row 2 is only three columns and the cell values are equal to the cell value above.


What I would like to do, having defined the equation in the second row, is cut and paste the second row and paste it one column over to get:
A B C D E F G H I J
--B C D


If I cut and paste the original to move it two columns over, the results should be
A B C D E F G H I J
-----C D E

And so on..
 
Upvote 0
Excel does not update the cell reference when you cut and paste only when you copy. You can copy the cells and then delete the unneeded cells.
 
Upvote 0
Or you could use names.
Select A2 and define a Name: myName RefersTo: =Sheet1!A$1
(note the relative reference)

Then putting =MyName in A2 and cut pasting will do what you want.
 
Upvote 0
Hi, just another option for the specific example.


Excel 2013/2016
ABCDEFGHIJ
1ABCDEFGHIJ
2ABC
Sheet1
Cell Formulas
RangeFormula
A2=INDEX(1:1,COLUMN())
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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