PC Review


Reply
Thread Tools Rate Thread

data validation for a single text entry

 
 
MZ
Guest
Posts: n/a
 
      25th Jan 2010
How can I create a data validation for a single text entry (i.e. to allow
leaving the cell blank or entering the word "Yes") without having to create a
list of the single entry (i.e. Yes). The other options in data validation
related to numbers, not text.
Thank you
--
MZ
 
Reply With Quote
 
 
 
 
Eduardo
Guest
Posts: n/a
 
      25th Jan 2010
Hi,
I assume I enter the word Yes in cell B1 then position in the cell you want
to apply data validation, go to data validation, custom and enter there the
formula as follow

=OR(A1=B1,A1="")

the above formula is validating data entered in A1

"MZ" wrote:

> How can I create a data validation for a single text entry (i.e. to allow
> leaving the cell blank or entering the word "Yes") without having to create a
> list of the single entry (i.e. Yes). The other options in data validation
> related to numbers, not text.
> Thank you
> --
> MZ

 
Reply With Quote
 
cm
Guest
Posts: n/a
 
      25th Jan 2010
Assuming your input cell is F10, In the data validation box -- choose Custom
and in the formula box put:

=OR(ISBLANK(F10)=TRUE,F10="Yes")


--
hope to help,
cm


"MZ" wrote:

> How can I create a data validation for a single text entry (i.e. to allow
> leaving the cell blank or entering the word "Yes") without having to create a
> list of the single entry (i.e. Yes). The other options in data validation
> related to numbers, not text.
> Thank you
> --
> MZ

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      25th Jan 2010
Assume you want to allow only the entry Yes in cell A1 (or leave it empty).

Select cell A1
Goto the menu Data>Validation
Allow: Custom
Formula: =A1="yes"
OK

--
Biff
Microsoft Excel MVP


"MZ" <(E-Mail Removed)> wrote in message
news:90D9E3D7-3A6E-4213-94F8-(E-Mail Removed)...
> How can I create a data validation for a single text entry (i.e. to allow
> leaving the cell blank or entering the word "Yes") without having to
> create a
> list of the single entry (i.e. Yes). The other options in data validation
> related to numbers, not text.
> Thank you
> --
> MZ



 
Reply With Quote
 
MZ
Guest
Posts: n/a
 
      26th Jan 2010
Thank you T. Valko,
I tried your suggestions and typed: =AF="Yes" (AF is the cell address)
but received a pop-up error in the Validation box that states: A named range
you specified cannot be found
--
MZ


"T. Valko" wrote:

> Assume you want to allow only the entry Yes in cell A1 (or leave it empty).
>
> Select cell A1
> Goto the menu Data>Validation
> Allow: Custom
> Formula: =A1="yes"
> OK
>
> --
> Biff
> Microsoft Excel MVP
>
>
> "MZ" <(E-Mail Removed)> wrote in message
> news:90D9E3D7-3A6E-4213-94F8-(E-Mail Removed)...
> > How can I create a data validation for a single text entry (i.e. to allow
> > leaving the cell blank or entering the word "Yes") without having to
> > create a
> > list of the single entry (i.e. Yes). The other options in data validation
> > related to numbers, not text.
> > Thank you
> > --
> > MZ

>
>
> .
>

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      26th Jan 2010
>I tried your suggestions and typed: =AF="Yes"
>(AF is the cell address)


Ok, so what's the row number of the cell address? Is it AF10? AF25? You need
to include the row number.

--
Biff
Microsoft Excel MVP


"MZ" <(E-Mail Removed)> wrote in message
news:C49DE148-281B-4254-867D-(E-Mail Removed)...
> Thank you T. Valko,
> I tried your suggestions and typed: =AF="Yes" (AF is the cell address)
> but received a pop-up error in the Validation box that states: A named
> range
> you specified cannot be found
> --
> MZ
>
>
> "T. Valko" wrote:
>
>> Assume you want to allow only the entry Yes in cell A1 (or leave it
>> empty).
>>
>> Select cell A1
>> Goto the menu Data>Validation
>> Allow: Custom
>> Formula: =A1="yes"
>> OK
>>
>> --
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "MZ" <(E-Mail Removed)> wrote in message
>> news:90D9E3D7-3A6E-4213-94F8-(E-Mail Removed)...
>> > How can I create a data validation for a single text entry (i.e. to
>> > allow
>> > leaving the cell blank or entering the word "Yes") without having to
>> > create a
>> > list of the single entry (i.e. Yes). The other options in data
>> > validation
>> > related to numbers, not text.
>> > Thank you
>> > --
>> > MZ

>>
>>
>> .
>>



 
Reply With Quote
 
MZ
Guest
Posts: n/a
 
      27th Jan 2010
Thank you for correcting my error in identifying the cell; it works fine now
--
MZ


"T. Valko" wrote:

> >I tried your suggestions and typed: =AF="Yes"
> >(AF is the cell address)

>
> Ok, so what's the row number of the cell address? Is it AF10? AF25? You need
> to include the row number.
>
> --
> Biff
> Microsoft Excel MVP
>
>
> "MZ" <(E-Mail Removed)> wrote in message
> news:C49DE148-281B-4254-867D-(E-Mail Removed)...
> > Thank you T. Valko,
> > I tried your suggestions and typed: =AF="Yes" (AF is the cell address)
> > but received a pop-up error in the Validation box that states: A named
> > range
> > you specified cannot be found
> > --
> > MZ
> >
> >
> > "T. Valko" wrote:
> >
> >> Assume you want to allow only the entry Yes in cell A1 (or leave it
> >> empty).
> >>
> >> Select cell A1
> >> Goto the menu Data>Validation
> >> Allow: Custom
> >> Formula: =A1="yes"
> >> OK
> >>
> >> --
> >> Biff
> >> Microsoft Excel MVP
> >>
> >>
> >> "MZ" <(E-Mail Removed)> wrote in message
> >> news:90D9E3D7-3A6E-4213-94F8-(E-Mail Removed)...
> >> > How can I create a data validation for a single text entry (i.e. to
> >> > allow
> >> > leaving the cell blank or entering the word "Yes") without having to
> >> > create a
> >> > list of the single entry (i.e. Yes). The other options in data
> >> > validation
> >> > related to numbers, not text.
> >> > Thank you
> >> > --
> >> > MZ
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      27th Jan 2010
Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"MZ" <(E-Mail Removed)> wrote in message
news:9FF22C6D-D259-44AF-AAB7-(E-Mail Removed)...
> Thank you for correcting my error in identifying the cell; it works fine
> now
> --
> MZ
>
>
> "T. Valko" wrote:
>
>> >I tried your suggestions and typed: =AF="Yes"
>> >(AF is the cell address)

>>
>> Ok, so what's the row number of the cell address? Is it AF10? AF25? You
>> need
>> to include the row number.
>>
>> --
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "MZ" <(E-Mail Removed)> wrote in message
>> news:C49DE148-281B-4254-867D-(E-Mail Removed)...
>> > Thank you T. Valko,
>> > I tried your suggestions and typed: =AF="Yes" (AF is the cell address)
>> > but received a pop-up error in the Validation box that states: A named
>> > range
>> > you specified cannot be found
>> > --
>> > MZ
>> >
>> >
>> > "T. Valko" wrote:
>> >
>> >> Assume you want to allow only the entry Yes in cell A1 (or leave it
>> >> empty).
>> >>
>> >> Select cell A1
>> >> Goto the menu Data>Validation
>> >> Allow: Custom
>> >> Formula: =A1="yes"
>> >> OK
>> >>
>> >> --
>> >> Biff
>> >> Microsoft Excel MVP
>> >>
>> >>
>> >> "MZ" <(E-Mail Removed)> wrote in message
>> >> news:90D9E3D7-3A6E-4213-94F8-(E-Mail Removed)...
>> >> > How can I create a data validation for a single text entry (i.e. to
>> >> > allow
>> >> > leaving the cell blank or entering the word "Yes") without having to
>> >> > create a
>> >> > list of the single entry (i.e. Yes). The other options in data
>> >> > validation
>> >> > related to numbers, not text.
>> >> > Thank you
>> >> > --
>> >> > MZ
>> >>
>> >>
>> >> .
>> >>

>>
>>
>> .
>>



 
Reply With Quote
 
Debra Dalgleish
Guest
Posts: n/a
 
      27th Jan 2010
Another option is to select Allow: List
In the Source box, type: Yes
Remove the check mark from the box for In-cell drop down

Note: Entries will have to exactly match what you type in the Source
box, so YES or yes would not be allowed, only Yes

If you want to allow other variations, you could add them in the Source
Box, e.g.: Yes,YES,yes


MZ wrote:
> How can I create a data validation for a single text entry (i.e. to allow
> leaving the cell blank or entering the word "Yes") without having to create a
> list of the single entry (i.e. Yes). The other options in data validation
> related to numbers, not text.
> Thank you



--
Debra Dalgleish
Contextures
www.contextures.com/tiptech.html
Blog: http://blog.contextures.com

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
data entry validation angie Microsoft Excel Programming 1 8th Apr 2009 04:16 PM
querying single text entry from multiple text field Grub via AccessMonster.com Microsoft Access Queries 2 18th Oct 2005 06:51 PM
Data Entry Validation Jeremy S Microsoft C# .NET 2 19th Jun 2005 03:30 AM
Data entry validation Van123 Microsoft Access Queries 1 23rd Mar 2005 12:17 PM
Data Entry Validation Bonnie Microsoft Access Form Coding 1 17th Oct 2003 08:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:38 AM.