Locked Cells Change References

jnsturze

New Member
Joined
Nov 19, 2010
Messages
9
I have a main sheet that references other sheets in my document. I have a refreshable query that changes based on a number i put in.

what i would like it to do is from my main table, reference the new data. so for example

when i change the "facility" to 126, it reads like this

A1 = Dept1 (references =Sheet3!$C$6)
A2 = Dept2 (references =Sheet3!$C$7)
A3 = Dept3 (references =Sheet3!$C$8)
etc

however, when i select a different facility, and refresh the data, it changes the locked cells i had in my main sheet. so instead of
a3 =dept3 it references =Sheet3!$C$22) and skips the other 14 departments and goes right to the last one.

thanks for the help!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I have a main sheet that references other sheets in my document. I have a refreshable query that changes based on a number i put in.

what i would like it to do is from my main table, reference the new data. so for example

when i change the "facility" to 126, it reads like this

A1 = Dept1 (references =Sheet3!$C$6)
A2 = Dept2 (references =Sheet3!$C$7)
A3 = Dept3 (references =Sheet3!$C$8)
etc

however, when i select a different facility, and refresh the data, it changes the locked cells i had in my main sheet. so instead of
a3 =dept3 it references =Sheet3!$C$22) and skips the other 14 departments and goes right to the last one.

thanks for the help!

Can you post a screenshot? It's difficult to see what you need from the details you have given.........

Regards,
Chris
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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