Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data validation - dates

Hi

I want the users of my spreadsheet to insert a date, formatted as
dd-mm-yy (06-09-07).

I don't want any other formats, e.g. ddmmyy, ddddmmmmyyyy etc.

How do i use data validation to ensure this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Data validation - dates

It is probably simpler to just format the cells to the way you want them to
look and the user then enters the date in the formula bar as per the short
date format. (Usually 6/9/07). The system then reformats it to the format
chosen by you.

I am assuming that you are new to this type of thing so the following are
some instructions to get you started.

To Format cells in xl 2007:-

Select the cells to be formatted.
On the Home ribbon click the little arrow bottom right of the Number block
(Centre of Home ribbon). Then go to instructions under all versions below.

To Format cells in earlier versions of xl:-

Select the cells to be formatted.
Click on menu item Format-Cells.

Continue here for all versions:-
Then select the Number tab then Date-Custom and then in the box just under
'Type:' Edit the format to dd-mm-yy.

Even if you use complex data validation, you will still need to format the
cells as above to display the dates in your preferred format otherwise they
will display in the short date format for your operating system.

Tip 1: Dates cannot be entered as ddmmyy without the delimiters between day
and month and month and year. They must be entered with delimiters such as
dd/mm/yy.

Tip 2: Custom format ddd dd mmm yyyy will display the alpha abbrev week day
at the beginning and the alpha abbrev month like this:-
Thu 06 Sep 2007.

Tip 3: Custom format dddd dd mmmm yyyy will display the full alpha week day
at the beginning and the full alpha of the month like this:-
Thursday 06 September 2007.

Hope this helps.


Regards,

OssieMac

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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM
Validation using dates... w/o actual dates thinartweakens Excel Discussion (Misc queries) 4 August 2nd 06 03:00 AM


All times are GMT +1. The time now is 07:48 AM.

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"