Making a formula reference the same cell even after cells have been shifted down

Arcinna

New Member
Joined
Jan 28, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
So i have the formula for the box next to customer set to look up the customer name on the 2023 sheet based on the internal sample id that is in cell E14 and if i just copy and paste information into this sheet that works fine. I'm running into the issue though that i made a macro to copy a selection from the 2023 sheet and insert it at cell B14 and shift everything down, but now the formula for customer still references what was previously E14 but is now the first blank cell below the data that the macro inserts. I just want the formula to reference E14 still even if what used to be E14 has moved I want it to reference the new E14 cell and i just cant figure out the syntax to make it do that.
Screenshot 2023-01-30 084241.png
 

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
If I get it right, you should use "F4" on the cell in the formula to use fixed cells.
For example, $A$1 means your formula is always A1 when you change the cell or shift down or drag down the cell.
$ symbol makes the var fixed.
 
Upvote 0
How about
Excel Formula:
=INDEX(E:E,14)
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,973
Members
449,200
Latest member
Jamil ahmed

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