Formula to protect cells

Felix Felix Asadu

New Member
Joined
May 1, 2022
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I don't want to lock or protect cells. So is there any formula that I can use to protect my cells with formula? I don't want a VBA code please.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
worksheet formula to calculate and display results, not to protect cell.
 
Upvote 0
The results will be displayed, but the cell should be protected. You know you can use Ctrl+1 to lock cells..I don't want that, I want a formula to do that .
worksheet formula to calculate and display results, not to protect cell.
 
Upvote 0
Seems like you are saying that you do not want to protect cells but you want to protect cells. :confused:

Looks to me that the answer is "No" but perhaps you could tell us more about what you are trying to achieve and why.
 
Upvote 0
Seems like you want to type in cell A1:
="I want to protect this cell, without lock it, and without using format cell"

It's impossible.
 
Upvote 0
Seems like you want to type in cell A1:
="I want to protect this cell, without lock it, and without using format cell"

It's impossible.
Thank you all for your responses,you are right. All I want to do is to lock a cell with a FORMULA so nobody can edit or delete.

If there's no formula, then VBA please. Thank you.
 
Upvote 0
You have not explained why you don't want to lock the cell & protect the sheet. That would be an easy way.
 
Upvote 0
Is this what you want: "lock cells those have formula"
NOT
"using formula to lock specific cells"
???
 
Upvote 0
You have not explained why you don't want to lock the cell & protect the sheet. That would be an easy way.
I just want to protect cells with formulas. But I want to learn different ways of doing it, if not only protecting the sheet
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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