Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 13
Default Is Conditional Protection Possible in 2003?

I have created a Sales Inventory Spreadsheet to help me as I put projects together that has entry fields for part number, vendor, descripiton, quantity, cost and sale price. In addition I have three columns with formulas for Extended Cost, Extended Sale and Profit Margin. This all works fine. I then modified the "sale price" to allow me to enter a number into a "Desired Margin" (DM) field and if something is entered in that field, the sale price is calculated.

=IF(DM0,(E4/(1-DM)), )

The ??

is there a way to protect the "Sell Price" field if a value is entered in DM and remove protection if the DM field is cleared?

Les
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default Is Conditional Protection Possible in 2003?

Hi Les,

You could do this with VBA or if you want a weaker version you could use
Data, Validation.

Select the cell where the Sales Price calculation is and choose Data,
Validation, Custom. Enter a formula such as:

=IF(DM<"",A10<A10,)

Here I assume that the cell containing the DM entry if any is named DM.
Cell A10 is the location of the Sales Price calculation you want to protect.

--
Cheers,
Shane Devenshire


"Les Linton" wrote:


I have created a Sales Inventory Spreadsheet to help me as I put
projects together that has entry fields for part number, vendor,
descripiton, quantity, cost and sale price. In addition I have three
columns with formulas for Extended Cost, Extended Sale and Profit
Margin. This all works fine. I then modified the "sale price" to
allow me to enter a number into a "Desired Margin" (DM) field and if
something is entered in that field, the sale price is calculated.

=IF(DM0,(E4/(1-DM)), )

The ??

is there a way to protect the "Sell Price" field if a value is entered
in DM and remove protection if the DM field is cleared?

Les




--
Les Linton

  #3   Report Post  
Junior Member
 
Posts: 13
Thumbs up

Quote:
Originally Posted by Les Linton View Post
I have created a Sales Inventory Spreadsheet to help me as I put projects together that has entry fields for part number, vendor, descripiton, quantity, cost and sale price. In addition I have three columns with formulas for Extended Cost, Extended Sale and Profit Margin. This all works fine. I then modified the "sale price" to allow me to enter a number into a "Desired Margin" (DM) field and if something is entered in that field, the sale price is calculated.

=IF(DM0,(E4/(1-DM)), )

The ??

is there a way to protect the "Sell Price" field if a value is entered in DM and remove protection if the DM field is cleared?

Les
Thanks for the help Shane. I will try that on my next one. Knowing that my sales people can break anything, I simply added another column protected my formula and now they can do it either way.

Les
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003: Protection oceanmist Excel Discussion (Misc queries) 1 June 19th 07 09:26 PM
Excel 2003: Protection oceanmist Excel Discussion (Misc queries) 1 September 20th 06 10:36 PM
protection in excel 2003 rameshpm Excel Discussion (Misc queries) 1 June 27th 06 01:04 PM
How do I set conditional protection to a cell Billy Excel Discussion (Misc queries) 1 March 31st 06 12:08 AM
Conditional Cell protection Bultgren Excel Discussion (Misc queries) 0 November 8th 05 11:50 AM


All times are GMT +1. The time now is 02:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"