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 do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,224,820
Messages
6,181,162
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