Can a cell be locked or otherwise to prevent formula deletion

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I say formula deletion but here is my issue.

On a worksheet i have the following

EaseUS_2024_08_29_10_04_20.jpg


The cell for Total is as follows.

EaseUS_2024_08_29_10_04_32.jpg


I have a user that now & then will manually enter a figue in column M where the =IF statements are placed.
As you know the manual entry then deletes the IF statement so next time when we enter values for quantity & Unit Price NO value is shown in the Total cell.

How is it possible to stop the manual entry to prevent the deletion of the =IF statement
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You have to protect the worksheet for locking cells to work. Depending on what else is happening on the worksheet, that may or may not cause other issues. User training may be easier. ;)
 
Upvote 0
I think you are correct thanks.
Maybe just dont let him near pc
 
Upvote 0
I think you are correct thanks.
Maybe just dont let him near pc
My first computer job was when I was in United States Airforce.
I learned very early to always keep backups to our files. Users were constantly entering data over my formulas.
 
Upvote 0
I keep a backup also but sometimes the cell he has typed in might not be used for a while.
 
Upvote 0
You could use some VBA to re-enter the formula anytime that cell is altered. But then there is the issue of enabling content every now and then, and if they don't enable it, then it won't keep the formula in the cell. I have a similar issue here, and no matter how often I mention it, or help "fix" the file after multiple formulas have been overwritten, it doesn't solve the matter. Now, I just use a version of my own when I need to use the sheet. Luckily, it's a daily one-time-use kind of thing, so my copy doesn't need to keep track of any data beyond the day.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
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