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
 

Forum statistics

Threads
1,081,676
Messages
5,360,441
Members
400,586
Latest member
Minty

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top