ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I format a Date? (https://www.excelbanter.com/excel-discussion-misc-queries/116975-how-can-i-format-date.html)

Keith

How can I format a Date?
 
I have a spreadsheet that contains a column for the date. Some users input
the date as: 23/10/06, some as 23.10.06 some as 231006 and some as 23-10-06

Is there a way that no matter how they enter it, it will be accepted and
converted to the 23/10/06 version?


smw226 via OfficeKB.com

How can I format a Date?
 
Hi Keith,

The easiest thing todo is to turn on data validation which will only allow
them to enter a date in the correct formas (either 23/10/06 or 23-10-06)

HTH

Simon

Keith wrote:
I have a spreadsheet that contains a column for the date. Some users input
the date as: 23/10/06, some as 23.10.06 some as 231006 and some as 23-10-06

Is there a way that no matter how they enter it, it will be accepted and
converted to the 23/10/06 version?


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via http://www.officekb.com


Horrgakx

How can I format a Date?
 
Is it not as simple as selecting the whole column, right-clicking Format
Cells Number Date and then formatting to what you want. Save the sheet
and every time a date is entered it has the same formatting.

PS - a quick easy way of entering a date is just "1nov" (without the
quotes). This will put that date in the current year in the correct format :)



"Keith" wrote:

I have a spreadsheet that contains a column for the date. Some users input
the date as: 23/10/06, some as 23.10.06 some as 231006 and some as 23-10-06

Is there a way that no matter how they enter it, it will be accepted and
converted to the 23/10/06 version?



All times are GMT +1. The time now is 08:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com