Formula cell references change when using ctrl + X and ctrl + V or drag and drop.

stanew

New Member
Joined
Jun 11, 2024
Messages
2
Office Version
  1. 2016
I am confused why this is even happening. I have a sheet with a list of names that I ref. on other sheets to complete forms. When I drag or use ctrl+X to move a name on sheet1 to a different row the formulas on my forms (another sheet) referencing the cell of the name I moved changes to the cell where the name is dropped or ctrl+V'd. Relative and absolute referencing makes no difference in the formulas. I don't understand why the formula is tied to the data on sheet1 and not to the cell its self. I normally lock in the column when I copy a formula down rows. I waa experimenting with relative and absolute ref's in the formulas below. Sorting the list of names and ctrl+c - ctrl +v has no affect on the formulas on sheet 2. Thanks in advance for your help.

TrainingRosterTemplate.xlsm
ABCDE
1First nameLast NameShopClass Info
21BillyBaseballA-shopReadySC IO#
32LarryLeftyA-shopReadySC Class:
43Course Description :
54Training Location:
65Start Date:
76End Date:
87Start time:
98End Time:
109Training hours
1110 Instructor 1 :
1211Instructor 2 :
1312Instructor 3 :
1413Workshop Code(s)
1514
1615
1716Training Supplier
1817Supplier Contact
Attendees


TrainingRosterTemplate.xlsm
ABCDEF
8Trainee Name:Birth Month/DayStart DateEnd Date
9Last First
101BaseballBilly6/10/20246/11/2024
112LeftyLarry6/10/20246/11/2024
123    
134    
145    
156    
167    
178    
189    
1910    
2011    
2112    
2213    
2314    
2415    
2516    
2617    
ReadySC Roster-1
Cell Formulas
RangeFormula
B10B10=PROPER(Attendees!$C$2)
C10C10=IF(Attendees!$B$2<>"", PROPER(Attendees!$B$2), "")
B11,B19:B26,B13:B17B11=IF(Attendees!$C3<>"", PROPER(Attendees!$C3), "")
C11:C26C11=IF(Attendees!$B3<>"", PROPER(Attendees!$B3), "")
B12B12=PROPER(Attendees!$C4)
B18B18=IF(Attendees!$C$10<>"", PROPER(Attendees!$B$10), "")
E10:E26E10=IF($C10<>"", Attendees!$F$6, "")
F10:F26F10=IF($C10<>"", Attendees!$F$7, "")
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
This may not be the most technical answer, but I believe that is the intended behavior. Locking cell references is so you can drag a formula and not have your ranges adjust as you drag. When a formula references a cell, and you then move that cell, the formula is going to update to the new location expecting the data is still intended for use in your formula and maybe you just moved it for aesthetic purposes.

You can use INDIRECT() to keep a cell reference tied to the exact cell location if you absolutely need to. However, INDIRECT() is a volatile function and should be used sparingly to avoid unnecessary recalculations, thus slowing down your workbook.
 
Upvote 0
Solution
This may not be the most technical answer, but I believe that is the intended behavior. Locking cell references is so you can drag a formula and not have your ranges adjust as you drag. When a formula references a cell, and you then move that cell, the formula is going to update to the new location expecting the data is still intended for use in your formula and maybe you just moved it for aesthetic purposes.

You can use INDIRECT() to keep a cell reference tied to the exact cell location if you absolutely need to. However, INDIRECT() is a volatile function and should be used sparingly to avoid unnecessary recalculations, thus slowing down your workbook.
Thanks dreid1011 for your replay. I opted for the indirect function.. I have used it a couple of times, but didn't realty understand it. I understand it better now. I have a max of 40 rows in two columns that now can feed first and last names into 6 different forms in my workbook without getting #Ref errors in the associated formulas whenever the name entries are manually arranged. .Here is the basic formula i am using. PROPER(TRIM(INDIRECT("Attendees!"&ADDRESS(ROW(),2,3)))). With the limited number of rows, I don't get any appreciable delay in the calculations. Thanks again.
 
Upvote 0
Thanks dreid1011 for your replay. I opted for the indirect function.. I have used it a couple of times, but didn't realty understand it. I understand it better now. I have a max of 40 rows in two columns that now can feed first and last names into 6 different forms in my workbook without getting #Ref errors in the associated formulas whenever the name entries are manually arranged. .Here is the basic formula i am using. PROPER(TRIM(INDIRECT("Attendees!"&ADDRESS(ROW(),2,3)))). With the limited number of rows, I don't get any appreciable delay in the calculations. Thanks again.
You're welcome, and happy to help.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
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