+ Reply to Thread
Results 1 to 3 of 3

Protecting formulas: enable editing and deleting the cell’s value?

  1. #1
    Registered User
    Join Date
    10-25-2009
    Location
    Israel
    MS-Off Ver
    Excel 2007
    Posts
    3

    Protecting formulas: enable editing and deleting the cell’s value?

    I have several cells with formulas (and listboxes) and my users are working on the sheet
    I want them to be able to delete the values in the cells, but without deleting the formula (e.g. user selected a value from the list, then decided he made a mistake and wants to delete the value. Right now, doing so will delete the value and the formula).
    Is there any way to lock the formula, but enable editing and deleting the cell’s value?

    thanks

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    re: Protecting formulas: enable editing and deleting the cell’s value?

    How do you mean?

    Value is determined by formula. If you want to delete value, formula should calculate same each time. For example your formula say: =A1+1 and result is 3

    Whenever you delete number 3 formula should calculate it again.

    Solution is to control input. So change A1 value.

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    re: Protecting formulas: enable editing and deleting the cell’s value?

    Hi,

    you need to protect your formula cells and leave the data input cells editable. To do that, for each cell you want the user to edit, open the cell format dialog, click the Protection tab and unselect the "Locked" tick box. (Cells are locked by default, so you only need to unlock the ones for data entry.)

    Next, you need to protect the sheet: In XL 2007, right click on the sheet tab and select "Protect Sheet", confirm with OK

    Now your users can only enter values in the cells you unlocked. If your formula cells are still locked, they will not be able to delete anything in them.

    Next, you have to educate your users and tell them that if they want to correct a calculated result, they can not edit the result itself, but rather have to edit the cells that are the input for the calculation.

    cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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