Sort and Filter on Locked Cells

nsto9800

New Member
Joined
Apr 17, 2018
Messages
1
Hi,

I have a worksheet that I would like users to be able to sort and filter the contents of, but half of the columns are formulas that I would like to keep locked and half are open for editing.

When I have the cells with formula 'locked' (via formatting the cells) the sort function doesnt work once the sheet has been protected. I've also tried setting up a range that users are allowed to edit (via the Review tab) but this seems to just have the effect of reversing the fact that I've formatted the cells as 'locked' and users are then able to edit all the columns - including the ones with formula in them.

I've done quite a bit of searching today and I understand that the AllowSort for locked cells doesn't work as expected - but is there any way around this? I thought about adding a button with a macro that would sort on each of the columns that I assume the users will want to sort by - but I wasn't sure if that would be the most efficient way to handle the problem.

Many thanks,
Nicole
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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