Autosort then #REF! issue on another sheet. Lock formulas and mirror cells?

Status
Not open for further replies.

noveske

Board Regular
Joined
Apr 15, 2022
Messages
120
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
This one feels real stupid. Thought about even just working in a script to copy and paste formulas back in between other scripts.

Sheet 1 - As soon as value are input, the sheet is set to auto update, sort and organize the data. Delete duplicates.
Sheet 2 - Cells reference cells from Sheet 1. Some data is modified by formulas.

Excel Formula:
=TRIM(LEFT(Input!E2,2))
Excel Formula:
=IFERROR(RIGHT(SUBSTITUTE(Input!C2," ","|",LEN(Input!C2)-LEN(SUBSTITUTE(Input!C2," ",""))),LEN(SUBSTITUTE(Input!C2," ","|",LEN(Input!C2)-LEN(SUBSTITUTE(Input!C2," ",""))))-FIND("|",SUBSTITUTE(Input!C2," ","|",LEN(Input!C2)-LEN(SUBSTITUTE(Input!C2," ",""))))),0)

When duplicates are deleted, since Sheet 2 just references Sheet 1, the deleted lines just become #REF! errors. Then things get shifted down.

Is there a way so that the cells on Sheet 2 will lock to always reference what's on Sheet 1? Not update or change?
Just need it to mirror without ever moving.

BeforeAfter
=TRIM(LEFT(Input!E2,2))=TRIM(LEFT(Input!E2,2))
=TRIM(LEFT(Input!E3,2))=TRIM(LEFT(Input!E3,2))
=TRIM(LEFT(Input!E4,2))#REF!
=TRIM(LEFT(Input!E5,2))#REF!
=TRIM(LEFT(Input!E6,2))=TRIM(LEFT(Input!E4,2))
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I'm an idiot.

Hope it's not the $.

Nope, that's not it.
 
Upvote 0
Duplicate to: Autosort then #REF! issue on another sheet. Lock formulas and mirror cells?

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,823
Messages
6,181,178
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