If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Data validation for the Date in cell.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-04-07, 11:35
ypal ypal is offline
Registered User
 
Join Date: Apr 2007
Location: Big City
Posts: 62
Data validation for the Date in cell.

Hello,
I have a cell that Formated to accept Date in the (mm/dd/yyyy) format.
But when I test it, it accepts text as well and may sho incorrect data.

How to fix it, so user may only enter the Date in the correct format?

Thank you,
Reply With Quote
  #2 (permalink)  
Old 10-04-07, 13:09
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy. Formatting does not affect data entry.

Rather, select the cell, then go to Data > Validation. In the drop down choose "Date" and it will give you possible beginning and ending dates. Now everything entered has to be Date. Also, you have a pop-up error message, if you select the last tab "Error Alert".
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 10-04-07, 13:55
ypal ypal is offline
Registered User
 
Join Date: Apr 2007
Location: Big City
Posts: 62
Ok, Thank you,

its working, but I still have a Q?.
How to choose possible beginning and ending dates?
It is an order form, so the day needs to be current and going forward.
Confuzed on that too. I placed the "grater than", but not sure if it is correct.

Thank you for your help!
Reply With Quote
  #4 (permalink)  
Old 10-04-07, 16:30
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Actually, in validation, it doesn't matter. I would choose the beginning of this year as the starting date. It won't matter about changing.

Unless you don't want someone to choose a date prior to the current date. In that case, then in the starting date, put this:

=TODAY()
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #5 (permalink)  
Old 10-04-07, 16:35
ypal ypal is offline
Registered User
 
Join Date: Apr 2007
Location: Big City
Posts: 62
Yes, you are right,
I do not want a user to choose a date prior than the current date.
How to go arown this problem?
Reply With Quote
  #6 (permalink)  
Old 10-04-07, 17:16
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
If you use

=TODAY()

in the Starting from box, then it will only allow whatever today's date is and after. For ending Date, if you want it to be moving as well, then in the ending date, put this:

=TODAY()

This will allow only the current date. If you want it to go forward 30 days, then

=TODAY()+30
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #7 (permalink)  
Old 10-05-07, 08:56
ypal ypal is offline
Registered User
 
Join Date: Apr 2007
Location: Big City
Posts: 62
Thank you for your help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On