+ Reply to Thread
Results 1 to 6 of 6

Lock Table But Allow Sorting

  1. #1
    Registered User
    Join Date
    07-09-2019
    Location
    United State
    MS-Off Ver
    2019
    Posts
    53

    Lock Table But Allow Sorting

    I have a spreadsheet that has multiple tabs and many Tables that reference each other. The Tables have both data and formulas. When locking a column in a Table with a formula, the entire Table becomes locked. I would like it such that I can lock the columns with formulas but allow users to sort the table but not edit it. Any suggestions? Thank you.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,373

    Re: Lock Table But Allow Sorting

    When you protect the sheet, ensure that you tick to allow auto filters in the options list.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-09-2019
    Location
    United State
    MS-Off Ver
    2019
    Posts
    53

    Re: Lock Table But Allow Sorting

    I tried that but still get an error that says "the cell or chart you are trying to change is on a protected sheet"

    When I protect the sheet, I have every box checked except "Select Locked cells"

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,373

    Re: Lock Table But Allow Sorting

    Complete overkill. For normal purposes the top two plus the one that allows auto filtering will suffice. Try that.

    https://support.office.com/en-us/art...3-f4ca36276de6
    Last edited by AliGW; 07-15-2019 at 04:42 PM.

  5. #5
    Registered User
    Join Date
    07-09-2019
    Location
    United State
    MS-Off Ver
    2019
    Posts
    53

    Re: Lock Table But Allow Sorting

    I tried that, then you could not select on ANY cells. I then allowed user to "edit unlocked cells" and "Sort". With this change, you can change any cell in the sheet EXCEPT for the cells that I locked in the column of the table, and then also the table headers became locked, thus eliminated the Sort function. Ughhhhh.

  6. #6
    Registered User
    Join Date
    07-09-2019
    Location
    United State
    MS-Off Ver
    2019
    Posts
    53

    Re: Lock Table But Allow Sorting

    The information on Microsoft's site says "Users can't sort ranges that contain locked cells on a protected worksheet, regardless of this setting." in reference to checking the "Sort" box upon protecting a sheet.

    Any known workarounds?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to lock an entire row together for sorting.
    By GaryF in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-07-2019, 04:30 PM
  2. [SOLVED] lock reference to table
    By Tresfjording in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2018, 06:47 PM
  3. Lock information in rows, but allow sorting and filtering
    By nicole716 in forum Excel General
    Replies: 3
    Last Post: 10-22-2014, 10:19 AM
  4. Replies: 0
    Last Post: 02-24-2014, 11:27 AM
  5. how to lock columns while sorting
    By legolas in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-16-2012, 05:47 AM
  6. lock in a title on column allowing sorting
    By BILBO22 in forum Excel General
    Replies: 3
    Last Post: 01-29-2009, 04:33 PM
  7. Replies: 1
    Last Post: 04-25-2005, 10:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1