ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to protect formulas in a cell (https://www.excelbanter.com/excel-discussion-misc-queries/61648-how-protect-formulas-cell.html)

Enrique Mahecha

how to protect formulas in a cell
 

Hi everyone.


You have cell where values are entered, but it has a formula in it. How
can I protect the formula and still let the user enter data in it?

Or

How do I RESET the table to its orginal state. Say all cells should be
set to "o" or "empty" and everything, formulas, formatting for the
entire table goes back to when first opened.

Please see Pic in attachement (having problems with my server uploading
the file). Pls let me know if get to see the pic, I am learning...

TIA

Enrique


+-------------------------------------------------------------------+
|Filename: Excel cells in magenta.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4145 |
+-------------------------------------------------------------------+

--
Enrique Mahecha
------------------------------------------------------------------------
Enrique Mahecha's Profile: http://www.excelforum.com/member.php...o&userid=10276
View this thread: http://www.excelforum.com/showthread...hreadid=495619


Jim Rech

how to protect formulas in a cell
 
How can I protect the formula and still let the user enter data in it?

How can I eat my cake and have it too? You can't. For your second question
I'd suggest you have a pure copy of your input area are hidden off somewhere
and copy it on top of the real input area via macro when needed.

--
Jim
"Enrique Mahecha"
<Enrique.Mahecha.20gmim_1135285800.9505@excelfor um-nospam.com wrote in
message news:Enrique.Mahecha.20gmim_1135285800.9505@excelf orum-nospam.com...
|
| Hi everyone.
|
|
| You have cell where values are entered, but it has a formula in it. How
| can I protect the formula and still let the user enter data in it?
|
| Or
|
| How do I RESET the table to its orginal state. Say all cells should be
| set to "o" or "empty" and everything, formulas, formatting for the
| entire table goes back to when first opened.
|
| Please see Pic in attachement (having problems with my server uploading
| the file). Pls let me know if get to see the pic, I am learning...
|
| TIA
|
| Enrique
|
|
| +-------------------------------------------------------------------+
||Filename: Excel cells in magenta.jpg |
||Download: http://www.excelforum.com/attachment.php?postid=4145 |
| +-------------------------------------------------------------------+
|
| --
| Enrique Mahecha
| ------------------------------------------------------------------------
| Enrique Mahecha's Profile:
http://www.excelforum.com/member.php...o&userid=10276
| View this thread: http://www.excelforum.com/showthread...hreadid=495619
|



Enrique Mahecha

how to protect formulas in a cell
 

:)

In all honesty, I thought there was kind of secret way to proctect the
formula in a cell and use it at the same time...

Anyway, your suggestion seems to fit the bill. I'll start tinkering
with it.


Thanks


EM


--
Enrique Mahecha
------------------------------------------------------------------------
Enrique Mahecha's Profile: http://www.excelforum.com/member.php...o&userid=10276
View this thread: http://www.excelforum.com/showthread...hreadid=495619


Dave Peterson

how to protect formulas in a cell
 
How about using a couple of helper cells?

Use A3 for the formula
Use B3 for the user input
Use C3 to determine which should be used:

=if(b3="",a3,b3)



Enrique Mahecha wrote:

Hi everyone.

You have cell where values are entered, but it has a formula in it. How
can I protect the formula and still let the user enter data in it?

Or

How do I RESET the table to its orginal state. Say all cells should be
set to "o" or "empty" and everything, formulas, formatting for the
entire table goes back to when first opened.

Please see Pic in attachement (having problems with my server uploading
the file). Pls let me know if get to see the pic, I am learning...

TIA

Enrique

+-------------------------------------------------------------------+
|Filename: Excel cells in magenta.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4145 |
+-------------------------------------------------------------------+

--
Enrique Mahecha
------------------------------------------------------------------------
Enrique Mahecha's Profile: http://www.excelforum.com/member.php...o&userid=10276
View this thread: http://www.excelforum.com/showthread...hreadid=495619


--

Dave Peterson

Enrique Mahecha

how to protect formulas in a cell
 

Actually I did not have time to try your suggestion, cause as the other
guys suggested, making a pure copy of the table and simply pasting in
on the "working table" with a macro, actually works pretty well. BUT, I
will try it later as soon as I learn a little more. I am just too green
right now, but I am learning...


Thank you.

Enrique.


--
Enrique Mahecha
------------------------------------------------------------------------
Enrique Mahecha's Profile: http://www.excelforum.com/member.php...o&userid=10276
View this thread: http://www.excelforum.com/showthread...hreadid=495619



All times are GMT +1. The time now is 07:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com