Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default IF function in Data Validation- XL03

I want to make a cell only validate an entry if another cell equals a value.
I'm using DATAVALIDATION and selecting CUSTOM. This is my formula:

=IF(NOT(C5="R"),"X","")

I want this cell to recognize if Cell C5 contains ONLY the letter "R" it is
to accept ONLY the letter "X" as an entry. If cell C5 doesn't contain ONLY
the letter "R" it is to accept ANY entry.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default IF function in Data Validation- XL03

You need a formula that returns TRUE when either C5 is not R or the given
cell is set to X. If this is to apply to A1, then the custom validation
formula would be
=or(C5<"R",A1="X")


"Conker10382" wrote:

I want to make a cell only validate an entry if another cell equals a value.
I'm using DATAVALIDATION and selecting CUSTOM. This is my formula:

=IF(NOT(C5="R"),"X","")

I want this cell to recognize if Cell C5 contains ONLY the letter "R" it is
to accept ONLY the letter "X" as an entry. If cell C5 doesn't contain ONLY
the letter "R" it is to accept ANY entry.

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
How do I auto-alphabatize in XL03? Conker10382 Excel Discussion (Misc queries) 1 June 5th 07 12:18 AM
Validating a name without using the Data Validation function twynsys Excel Worksheet Functions 3 November 29th 06 04:14 PM
data validation - indirect function Louise Excel Discussion (Misc queries) 1 November 8th 06 03:33 PM
data validation with EOMONTH function spence Excel Worksheet Functions 1 March 19th 06 12:04 AM
Data Validation Function Help John Jost Excel Worksheet Functions 3 December 22nd 05 03:25 PM


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