Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2007

Tip: Looking for answers? Try searching our database.

Basic data validation question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bingo Accent - 07 Mar 2007 14:34 GMT
I can't believe that I can't figure this out for myself, but...

I want to use Data Validation to only allow entry to a cell, if the
content of another cell is a specific text.

i.e. Cell E5 has a status of 'Open' or 'Closed' (data entry
validated). Cell F5 shows 'Date Closed'.

I want to prevent someone entering a date in the 'Date Closed' cell,
if E5 shows 'Open'.

I've tried using Data Validation>Custom and entering variations on
=IF(E5="Closed"), but I'm getting nowhere.

Please help!

Thanks.
ed@HelpExcel.com - 07 Mar 2007 14:47 GMT
You could use some VBA to accomplish this.

Regards,
Eddie
http://www.HelpExcel.com
KC Rippstein - 07 Mar 2007 14:53 GMT
The easiest way to accomplish this is to follow Debra Dalgleish's
instructions here:
http://www.contextures.com/xlDataVal02.html
She has some links at the top of that page to other ways of doing it, but
the one presented on that page is the cleanest.
-KC

>I can't believe that I can't figure this out for myself, but...
>
[quoted text clipped - 13 lines]
>
> Thanks.
Bingo Accent - 08 Mar 2007 10:33 GMT
I knew it was easy!

A colleague came up with =E5="Closed" and it works.
Ragdyer - 07 Mar 2007 23:31 GMT
This seems to work if "Date Closed" is entered in E5 while F5 is either
blank or contains "closed":

Click in E5, and <Data> <Validation> <Custom>, and enter:
=AND(E5="Closed",F5>0)
Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> I can't believe that I can't figure this out for myself, but...
>
[quoted text clipped - 13 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.