please help...protect formula but not the cell

trhlblue

New Member
Joined
Sep 20, 2006
Messages
2
i am new to mr. excel & need help. i will try to keep it succinct. i have a worksheet that our sales people use to price our products. the entire worksheet is locked except the quantity of products that sales enters. some of the cells have formulas so if they enter 1 quantity for a speaker then a formula automatically adds 1 quanity for a speaker bracket. however, sometimes they don't need a bracket, but if the speaker bracket cell is not protected then they will erase the formula altogether. how can i protect the formula itself but still allow sales to make changes to the cell without affecting the formula? please help...i'd be forever grateful.

Thanks

trhlblue
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Dufus

Board Regular
Joined
Aug 19, 2006
Messages
176
trhlblue,

I think you could change the formula so it lets them decide whether or not the bracket is added automatically. For example, if I enter 1 for a speaker and three other rows are automatically populated with related supplies, then I would need three cells to tell the formula whether or not I need each of the supplies. Like this:
=IF(A2="Speaker", IF(B2="Yes",1,0),0)
Now, if I put a "Yes" in B2, I get the extra part. If I don't, it's not included.

Dufus
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,016
Office Version
  1. 365
Welcome to the board.

I'm afraid what you're asking is not possible--at least, it's not possible without using VBA.

You can either:
1) Introduce VBA to your file (which may bring about issues with requiring users to enable macros, etc.)
2) Have your file calculate a "suggested" quantity for speaker brackets but require the sales person to actually enter the amount (in a different cell than where the suggestion would appear). (A different approach to a similar result is Dufus's suggestion above)
 

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Hi Trhlblue

Welcome to the Board!

I fear I don't understand what you mean - how could the users make an adjustment to the cell containing the formula without changing the formula? Or do you mean "make an addition to the formula, but not in any way remove the original formula"? If the latter, I know of no way to do this. I would recommend therefore having another cell that could hold manual adjustments that would be incorporated within the formula cell.

Richard
 

Forum statistics

Threads
1,141,720
Messages
5,708,090
Members
421,545
Latest member
TWR

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
Top