#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
edwardpestian
 
Posts: n/a
Default How to validate


I need to validate an entry against a range of dates. For example, if
the user entered a date, that was not in the range E9:E39 the would get
a specified message: "Date is not found in the range." I tried using
datavalidation, but it would not accept the range.

Thanks in advance.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=550168

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default How to validate

That should work. Did you choose "List" for the Allow Field? When you enter
your range, did you start it with an = sign?

=E9:E39 will look in that range.

E9:E39 will only accept the literal value "E9:E39"

HTH,
Elkar


"edwardpestian" wrote:


I need to validate an entry against a range of dates. For example, if
the user entered a date, that was not in the range E9:E39 the would get
a specified message: "Date is not found in the range." I tried using
datavalidation, but it would not accept the range.

Thanks in advance.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=550168


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
edwardpestian
 
Posts: n/a
Default How to validate


Unfortunately it is providing a drop down menu which is what I don't
want.

Regards,

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=550168

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default How to validate

Use datavalidationallowcustom and put in this formula

=ISNUMBER(MATCH(A1,$E$9:$E$39,0))

then type in the type of message you want under the error alert tab

this example assumes that A1 is the cell the user types the date into

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"edwardpestian"
wrote in message
news:edwardpestian.293wro_1149809104.4559@excelfor um-nospam.com...

I need to validate an entry against a range of dates. For example, if
the user entered a date, that was not in the range E9:E39 the would get
a specified message: "Date is not found in the range." I tried using
datavalidation, but it would not accept the range.

Thanks in advance.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile:
http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=550168



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
edwardpestian
 
Posts: n/a
Default How to validate


Ended up placing this formula on a hidden admin sheet that I already
had, and used the indirect function under data validation.

=NOT(ISERROR(MATCH(G6,E16:E39,0)))

Thanks for all the help.

ep


--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile: http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=550168

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 validate the value and not the formula in excel? BHemel Excel Worksheet Functions 1 May 25th 06 03:10 PM
? Link attached - How to validate SIN (Social Insurance Number) [email protected] Excel Worksheet Functions 5 December 17th 05 07:07 AM
How to validate data in already list dropdown validated. Rao Ratan Singh Excel Discussion (Misc queries) 2 June 14th 05 01:32 PM
How do you validate listed information with comment? Redd0g Excel Worksheet Functions 1 April 15th 05 03:58 AM
How do I validate data using different lists based on the data in. Shannon Excel Discussion (Misc queries) 1 March 28th 05 05:55 PM


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