#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default auto formatting

In my spreadsheet, Col A has a drop-down list with 5 choices. When "samples"
are selected from Col A, I want it to prevent the user from entering data in
Col C and D 9both date fields). The problem is, I don't want to put a formula
in there because then I would have to lock the cells and I need the
spreadsheet data entry area to remain unlocked for ease of deleting/inserting
etc. Additionally, I want the user to be able to free-key a date in Cols C
and D if they select anything other than "samples".

So, I am wondering if there is a formula that i can use for Conditional
Formatting so that if "samples" is selected in A, then C and D will fill with
black. that doesn't truly prevent anyone from typing but it gets the message
across that they shouldn't be typing in these fields because of their choice
in Col A. Is there a formula that could do this across Columns?
Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default auto formatting

I want to make sure I understand.

If the user pick sample for A5, you want C5 and D5 to be "locked"??
--
Gary''s Student - gsnu200828


"Roady" wrote:

In my spreadsheet, Col A has a drop-down list with 5 choices. When "samples"
are selected from Col A, I want it to prevent the user from entering data in
Col C and D 9both date fields). The problem is, I don't want to put a formula
in there because then I would have to lock the cells and I need the
spreadsheet data entry area to remain unlocked for ease of deleting/inserting
etc. Additionally, I want the user to be able to free-key a date in Cols C
and D if they select anything other than "samples".

So, I am wondering if there is a formula that i can use for Conditional
Formatting so that if "samples" is selected in A, then C and D will fill with
black. that doesn't truly prevent anyone from typing but it gets the message
across that they shouldn't be typing in these fields because of their choice
in Col A. Is there a formula that could do this across Columns?
Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 69
Default auto formatting

Well, ideally, yes, "locked" meaning they can't enter anything in C and D.

However because of the reasons I stated previously, i don't think that I
can. So, I will settle for Conditional Formatting the C and D to fill black
if samples is selected- if it is possible to make a conditional formatting
based on actions in another cell.

"Gary''s Student" wrote:

I want to make sure I understand.

If the user pick sample for A5, you want C5 and D5 to be "locked"??
--
Gary''s Student - gsnu200828


"Roady" wrote:

In my spreadsheet, Col A has a drop-down list with 5 choices. When "samples"
are selected from Col A, I want it to prevent the user from entering data in
Col C and D 9both date fields). The problem is, I don't want to put a formula
in there because then I would have to lock the cells and I need the
spreadsheet data entry area to remain unlocked for ease of deleting/inserting
etc. Additionally, I want the user to be able to free-key a date in Cols C
and D if they select anything other than "samples".

So, I am wondering if there is a formula that i can use for Conditional
Formatting so that if "samples" is selected in A, then C and D will fill with
black. that doesn't truly prevent anyone from typing but it gets the message
across that they shouldn't be typing in these fields because of their choice
in Col A. Is there a formula that could do this across Columns?
Thank you!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default auto formatting

Using A5 as a typical cell, click on C5 and select conditional formatting
Formula Is:
=A5="samples"

and set the background color to black.

Repeat for D5, etc.

It is possible to use an event macro that will monitor what the user enters
in Column A. If the user picks "samples" the macro would lock the equivalent
cells in column C & D and protect the sheet.
--
Gary''s Student - gsnu200828


"Roady" wrote:

Well, ideally, yes, "locked" meaning they can't enter anything in C and D.

However because of the reasons I stated previously, i don't think that I
can. So, I will settle for Conditional Formatting the C and D to fill black
if samples is selected- if it is possible to make a conditional formatting
based on actions in another cell.

"Gary''s Student" wrote:

I want to make sure I understand.

If the user pick sample for A5, you want C5 and D5 to be "locked"??
--
Gary''s Student - gsnu200828


"Roady" wrote:

In my spreadsheet, Col A has a drop-down list with 5 choices. When "samples"
are selected from Col A, I want it to prevent the user from entering data in
Col C and D 9both date fields). The problem is, I don't want to put a formula
in there because then I would have to lock the cells and I need the
spreadsheet data entry area to remain unlocked for ease of deleting/inserting
etc. Additionally, I want the user to be able to free-key a date in Cols C
and D if they select anything other than "samples".

So, I am wondering if there is a formula that i can use for Conditional
Formatting so that if "samples" is selected in A, then C and D will fill with
black. that doesn't truly prevent anyone from typing but it gets the message
across that they shouldn't be typing in these fields because of their choice
in Col A. Is there a formula that could do this across Columns?
Thank you!

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
Auto formatting deegee Excel Worksheet Functions 3 September 9th 08 01:04 AM
auto number formatting Randy[_4_] Excel Worksheet Functions 0 September 15th 07 12:32 PM
Turning off auto formatting Dave B. Excel Discussion (Misc queries) 3 August 28th 06 11:45 PM
importing XML, auto formatting smoran Excel Discussion (Misc queries) 0 October 4th 05 11:19 AM
Auto formatting Jake Bailey Excel Discussion (Misc queries) 1 February 7th 05 11:31 PM


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

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

About Us

"It's about Microsoft Excel"