Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how do i ensure people use the right date format in excel?

I am trying to set up a column where people enter the date that they are
attending an event. In order to keep things neat and ensure that we can sort
the column, we need all the dates to be entered in the same format. How on
earth can we do this with Excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default how do i ensure people use the right date format in excel?

Custom Format cells as:

m/d/yyyy


"lucyh" wrote:

I am trying to set up a column where people enter the date that they are
attending an event. In order to keep things neat and ensure that we can sort
the column, we need all the dates to be entered in the same format. How on
earth can we do this with Excel?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default how do i ensure people use the right date format in excel?

You can't affect the way a user enters a value in a cell. However,
there's really no reason to as long as you format the cell the way you
want. What difference does it make if a user enters 1/1/2007 or
1-Jan-2007 as long as the display format is, say 01 Jan 2007.

You *could* use an InputBox or a UserForm to control input if you'd like
to use VBA event macros.



In article ,
lucyh wrote:

I am trying to set up a column where people enter the date that they are
attending an event. In order to keep things neat and ensure that we can sort
the column, we need all the dates to be entered in the same format. How on
earth can we do this with Excel?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default how do i ensure people use the right date format in excel?

JE McGimpsey wrote...
You can't affect the way a user enters a value in a cell. However,
there's really no reason to as long as you format the cell the way
you want. What difference does it make if a user enters 1/1/2007
or 1-Jan-2007 as long as the display format is, say 01 Jan 2007.

....
lucyh wrote:
I am trying to set up a column where people enter the date that
they are attending an event. In order to keep things neat and
ensure that we can sort the column, we need all the dates to be
entered in the same format. How on earth can we do this with
Excel?


Reading between the lines, I suspect the OP believes dates are stored
as text, so dates entered as 3/28/2007 could sort after (later than)
04/01/2007. That's not the case. If dates are entered in a valid date
format, they're converted into date values, which are numbers
representing 61 plus the number of days (with time of day as fraction
of day) after 1 Mar 1900 in the 1900 date system or the number of days
from 1 Jan 1904 in the 1904 date system. Either way, 4/1/2007 and
04/01/2007 would both be stored as 39173.

As long as the OP hasn't given these cells the number format Text (and
she should give them a date number format), she can sort them
consistently. Wouldn't hurt to include a data validation rule that the
entered values should be numbers between the earliest and latest
allowed date values.

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
Can adjust Format Rows Autofit to ensure WYSIWYG when printing GraySmithy Excel Worksheet Functions 2 September 3rd 05 03:37 PM
Can one adjust Format Row Autofit to ensure WYSIWYG when printing GraySmithy Excel Discussion (Misc queries) 2 September 2nd 05 02:26 PM
How can I ensure #records in a selected set always shows in Excel RangerBill Excel Discussion (Misc queries) 1 August 8th 05 08:14 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
Ensure dates imported into Excel 2003 are shown in DD/MM/YYY form. KymY Excel Discussion (Misc queries) 3 February 11th 05 02:28 PM


All times are GMT +1. The time now is 06:02 AM.

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"