Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
LPS LPS is offline
external usenet poster
 
Posts: 108
Default Data Validation - Multiple Options

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Data Validation - Multiple Options

on the data validation chose for a list, define the range, and there put the
dates and N/A

hth
regards from Brazil
Marcelo

"LPS" escreveu:

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS

  #3   Report Post  
Posted to microsoft.public.excel.misc
LPS LPS is offline
external usenet poster
 
Posts: 108
Default Data Validation - Multiple Options

Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".

--
LPS


"Marcelo" wrote:

on the data validation chose for a list, define the range, and there put the
dates and N/A

hth
regards from Brazil
Marcelo

"LPS" escreveu:

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Data Validation - Multiple Options

hi,

My sugestion is:

on an auxiliar column Z for eg. type on rows
1 - N/A
2 - 01/01/06
3
4
366 - 12/31/06

then difine the data validation list z1:z366

the final user could type any date between this range (jan-01 Dec31) or N/A
or still select on the list.

it works here.

hth
regards
Marcelo



"LPS" escreveu:

Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".

--
LPS


"Marcelo" wrote:

on the data validation chose for a list, define the range, and there put the
dates and N/A

hth
regards from Brazil
Marcelo

"LPS" escreveu:

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS

  #5   Report Post  
Posted to microsoft.public.excel.misc
LPS LPS is offline
external usenet poster
 
Posts: 108
Default Data Validation - Multiple Options

Thanks Marcelo. That is certainly worth a try. I appreciate your help.
--
LPS


"Marcelo" wrote:

hi,

My sugestion is:

on an auxiliar column Z for eg. type on rows
1 - N/A
2 - 01/01/06
3
4
366 - 12/31/06

then difine the data validation list z1:z366

the final user could type any date between this range (jan-01 Dec31) or N/A
or still select on the list.

it works here.

hth
regards
Marcelo



"LPS" escreveu:

Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".

--
LPS


"Marcelo" wrote:

on the data validation chose for a list, define the range, and there put the
dates and N/A

hth
regards from Brazil
Marcelo

"LPS" escreveu:

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Data Validation - Multiple Options

Thanks for the feedback

Marcelo

"LPS" escreveu:

Thanks Marcelo. That is certainly worth a try. I appreciate your help.
--
LPS


"Marcelo" wrote:

hi,

My sugestion is:

on an auxiliar column Z for eg. type on rows
1 - N/A
2 - 01/01/06
3
4
366 - 12/31/06

then difine the data validation list z1:z366

the final user could type any date between this range (jan-01 Dec31) or N/A
or still select on the list.

it works here.

hth
regards
Marcelo



"LPS" escreveu:

Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".

--
LPS


"Marcelo" wrote:

on the data validation chose for a list, define the range, and there put the
dates and N/A

hth
regards from Brazil
Marcelo

"LPS" escreveu:

I'm using Excel 2000 in Windows 2000. I would like to create a data
validation which allows 2 options: the first is a date that the user enters
and the second is the characters "N/A" if a date is not relevant. I know how
to restrict the entries to just dates or just text. My question is: Is it
possible to have both (or more than one) validation criteria at the same time
(as described above).?

Many thanks,
--
LPS

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Data Validation - Multiple Options

Select the cells in which you want the data validation
From the Allow dropdown, choose Custom
In the formula box, type the following formula, refering to the active
cell (B2 in this example):
=OR(B2="N/A",AND(B2=DATE(2006,1,1),B2<=DATE(2006,12,31)) )
Click OK

LPS wrote:
Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".



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

  #8   Report Post  
Posted to microsoft.public.excel.misc
LPS LPS is offline
external usenet poster
 
Posts: 108
Default Data Validation - Multiple Options

That is brilliant. Thank you very much.
--
LPS


"Debra Dalgleish" wrote:

Select the cells in which you want the data validation
From the Allow dropdown, choose Custom
In the formula box, type the following formula, refering to the active
cell (B2 in this example):
=OR(B2="N/A",AND(B2=DATE(2006,1,1),B2<=DATE(2006,12,31)) )
Click OK

LPS wrote:
Thanks Marcelo, but that won't work... I guess I didn't explain fully. I
need the users to enter directly into the cell any one date out of a specific
year, as opposed to picking a date from a list. For example, the date could
be anything between 1 Jan/06 to 31 Dec/06. I have created a data validation
which restricts the cell entry to a date between those two but I also need
the user to be able to "over-ride" the date with "N/A", if circumstances
require it. I could leave the cell without any validation but that leaves
the cell open to anything being entered into it and I need to restrict it to
either any date within the given year or the characters "N/A".



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


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Data Validation - Multiple Options

You're welcome! Thanks for letting me know that it helped.

LPS wrote:
That is brilliant. Thank you very much.



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

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 - select multiple options? A. Excel Discussion (Misc queries) 3 January 2nd 06 09:13 PM
Data Validation drop down for multiple worksheets singla Excel Worksheet Functions 0 December 14th 05 05:56 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Data validation for Multiple columns NC Excel Discussion (Misc queries) 2 May 11th 05 01:51 PM


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