Urgent pls. Validation to accept on Date MM/DD/YY format noly. Pls help

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Validation to accept on Date MM/DD/YY format noly. Pls helpThanks: Cell value should only take MM/DD/YY format.

Pedie
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi Pedie,
Are you just trying to set some data validation so it will only accept a date in your specified format?
I'm using 2003 here and I can't find a way for validation to catch that. (I don't know if 07 or 10 has a feature for this or not, mine's at home now taking the day off :eek: )

The idea I have is to just use the sheet change event, have it test if the entry is a real date and then format to your specs. (The date is an actual entry, right? - not the return from a formula?)

Does that sound like it might work for what you're doing?
 
Upvote 0
Dan, in range G15 I want the user to enter date only in mm/dd/yy format and nothing else...I mean no nother format thanks alot!
Pedie..Sorry steped out for a while:)

'm using =OR(G12="NA",ISNUMBER(TEXT(G12,"mm/dd/yy")+0)) for now..is this correct?
 
Upvote 0
Hi Pedie,
(Sorry, for the delay, kinda tied up here today myself.)
Where / how are you using your formula?
Are you trying to use this in data validation or something?

(Is using the sheet change (or calculate) event not an option? I'm thinking whatever format they enter it in, we could just change it to the format you want after the fact.) Will that work for you?
 
Upvote 0
I am using this in validation > formula. For now it seems to work well but in case anything comes up latter....lol i'll be .....lol!
 
Upvote 0
Dan, sorry I know you're really busy so whenever you're free you can come in and do something here maybe or....i can go on like this for a while unless someone in here has some suggestion...:biggrin:

Thanks again
Pedie
 
Upvote 0
Anyone wants to suggest anything regarding this thread? :)
I am taking this as Unsolved YET:biggrin::
 
Upvote 0
It's not possible really, to fully validate this.
10/11/2010

This is a valid date. Is it Oct 10 or Nov 11? Who knows...

It's best to follow the regional date settings if at all possible, and for data that is being used in international settings, use a date format that is not subject to doubt, such as the following (the last is ISO 8601 and is to be hoped will gain more adherence):

October 11, 2010
11-Oct-2010
2010-10-11
 
Upvote 0
Xen, thanks for coming in....
That is okay if it is not possible now yet..like you said it is difficult for formula to understand whether it is a date or month being entered...:biggrin:


Anyways: thanks!


Dan, let's give up here for today....in case you still look here and there...!
Thanks and regards guys!
 
Upvote 0

Forum statistics

Threads
1,215,474
Messages
6,125,024
Members
449,204
Latest member
LKN2GO

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top