Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Validate entry based on another cell value

How do I set up validation of data entry in cell B1 depending on the value
entered in cell A1? Valid entries for B1 are - blank if A1 < 1 or N or E if
column A1 zero.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Validate entry based on another cell value

One thing to note, you can't force a user to either leave a cell empty or
enter something. There are little things you can do to try to coax them to
follow those rules but in the end the user has all the power. ( the ON/OFF
switch!)

So, try this:

Select cell B1
Goto the menu DataValidation
AllowCustom
Formula:

=AND(COUNT(A1),A10,OR(B1="N",B1="E"))

Uncheck the "Ignore blank" checkbox.
If you want custom messages to appear select the Input Message and/or Error
Alert tabs and fill in the info.
OK out

--
Biff
Microsoft Excel MVP


"Dearoledad" wrote in message
...
How do I set up validation of data entry in cell B1 depending on the value
entered in cell A1? Valid entries for B1 are - blank if A1 < 1 or N or E
if
column A1 zero.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Validate entry based on another cell value

Thanks, Biff. It worked perfectly. As for a user not entering anything, I
have devised a gorella that reaches out of the screen and shakes the user if
they skip the field when they should be entering data.

Thanks again.

"T. Valko" wrote:

One thing to note, you can't force a user to either leave a cell empty or
enter something. There are little things you can do to try to coax them to
follow those rules but in the end the user has all the power. ( the ON/OFF
switch!)

So, try this:

Select cell B1
Goto the menu DataValidation
AllowCustom
Formula:

=AND(COUNT(A1),A10,OR(B1="N",B1="E"))

Uncheck the "Ignore blank" checkbox.
If you want custom messages to appear select the Input Message and/or Error
Alert tabs and fill in the info.
OK out

--
Biff
Microsoft Excel MVP


"Dearoledad" wrote in message
...
How do I set up validation of data entry in cell B1 depending on the value
entered in cell A1? Valid entries for B1 are - blank if A1 < 1 or N or E
if
column A1 zero.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Validate entry based on another cell value

a gorella that reaches out of the screen and shakes the user

I like that idea!

Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Dearoledad" wrote in message
...
Thanks, Biff. It worked perfectly. As for a user not entering anything, I
have devised a gorella that reaches out of the screen and shakes the user
if
they skip the field when they should be entering data.

Thanks again.

"T. Valko" wrote:

One thing to note, you can't force a user to either leave a cell empty or
enter something. There are little things you can do to try to coax them
to
follow those rules but in the end the user has all the power. ( the
ON/OFF
switch!)

So, try this:

Select cell B1
Goto the menu DataValidation
AllowCustom
Formula:

=AND(COUNT(A1),A10,OR(B1="N",B1="E"))

Uncheck the "Ignore blank" checkbox.
If you want custom messages to appear select the Input Message and/or
Error
Alert tabs and fill in the info.
OK out

--
Biff
Microsoft Excel MVP


"Dearoledad" wrote in message
...
How do I set up validation of data entry in cell B1 depending on the
value
entered in cell A1? Valid entries for B1 are - blank if A1 < 1 or N or
E
if
column A1 zero.






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
restricting entry into a cell based on entry to a previous cell newbie57 New Users to Excel 1 June 9th 08 05:43 PM
How do I validate text in a cell based on other sheets in the work subdeven Excel Discussion (Misc queries) 3 November 20th 07 05:08 AM
validate duplicate entry in a column wangan Excel Discussion (Misc queries) 4 June 5th 07 01:38 PM
Validate Email address entry Rayasiom Excel Discussion (Misc queries) 2 May 31st 07 10:36 AM
validate input of cell A1 to either 8 or 0 based on cell B > 0 Captnsvo23t Excel Worksheet Functions 1 August 30th 05 09:57 PM


All times are GMT +1. The time now is 10:45 PM.

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"