Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Data Validation Question

I'm looking for a custom formula for data validation in a cell. The user is
to be allowed to enter either Yes or No in accordance with the following
logic:

If (True, "No", Or("Yes", "No")) {If a condition is True, he can't do
it; otherwise, he has a choice.}

Respectfully submitted,
Bob Myers


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Data Validation Question

You should have told us what the condition is.

This will allow only No in B1 if the logical test is TRUE. If the logical
test is FALSE then it will allow only Yes or No.

=IF(logical_test,B1="No",OR(B1="Yes",B1="No"))

--
Biff
Microsoft Excel MVP


"Bob Myers" wrote in message
...
I'm looking for a custom formula for data validation in a cell. The user
is to be allowed to enter either Yes or No in accordance with the
following logic:

If (True, "No", Or("Yes", "No")) {If a condition is True, he can't do
it; otherwise, he has a choice.}

Respectfully submitted,
Bob Myers




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
Data Validation question ozhunter Excel Discussion (Misc queries) 3 December 16th 08 12:25 AM
Data Validation Question jwags Excel Discussion (Misc queries) 1 August 18th 08 06:23 PM
Data Validation Question Steve Haack Excel Worksheet Functions 1 July 22nd 08 06:28 PM
Data Validation question anny Excel Worksheet Functions 8 March 16th 06 03:12 AM
DataValidation Question Weave New Users to Excel 2 December 12th 05 08:06 PM


All times are GMT +1. The time now is 05:44 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"