cutting and pasting informatio in cells without affecting the formulas that refer to those cells

Occasional Visitor

I have list of names and each name has a number associated with it.  This is two columns:

A: Name (text)

B: Hours (number)


Then I have formulas in columns C and D that refer to A and B and also refer to one cell "G2"where an absolute amount has been entered: "total tips": 

C: is the percent of the Total hours (B2/sum(B2:B1000) each person worked.

D is the percent of the Total Tips: B2*$E$1


See the attached sheet.  The problem is that every week, the names change (people quit and are hired) but the list has to be in alphabetical order.  If I cut and paste the list as I go down it, the formulas in columns C and D get messed up because they continue to refer to the cell that used to be next to them. 


For example if wanted to add "Love, Caleb" to the list on row 6, I would want to cut A6:B7 and move it down one.   Problem is that when I do that, the formulas in C6:9 and D6:9 no longer refer to the cells on their row.  And if I protect the formulas in the C and D  using "locked" cell and Protect sheet, it still happens. 


Is there no way to set the formulas in columns C and D so that they ALWAYS refer to the cells on their same row?


Thanks in advance for you help


1 Reply

@jsifly Transforming the table to a structured Excel table (Ctrl-T) and using structured references could help. I note you had the sheet protected. If you want to keep that you can drag A6:B7 to down one row. But you can't insert a row. You'll see that the formula on row 6 will return zero until you put something in B6 and the formulae on rows 7 and 8 have followed one row down.