Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a field - date. Let's say that one of the values is 6/20/05.
How can I convert it to a number field, for example 6/20/05 will be shown as 20050605? Thanks, galsaba |
#2
![]() |
|||
|
|||
![]()
=TEXT(A1,"yyyymmdd")
-- HTH RP (remove nothere from the email address if mailing direct) "galsaba" wrote in message oups.com... I have a field - date. Let's say that one of the values is 6/20/05. How can I convert it to a number field, for example 6/20/05 will be shown as 20050605? Thanks, galsaba |
#3
![]() |
|||
|
|||
![]()
Try =YEAR(A1)*10000+MONTH(A1)*100+DAY(A1)
But you MUST format the cell after typing the formula because Excel wants a date format -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "galsaba" wrote in message oups.com... I have a field - date. Let's say that one of the values is 6/20/05. How can I convert it to a number field, for example 6/20/05 will be shown as 20050605? Thanks, galsaba |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to convert text to date | Excel Worksheet Functions | |||
How do I convert a number formated as a date to text in Excel? | Excel Discussion (Misc queries) | |||
EXTRACT TEXT FROM A DATE | Excel Worksheet Functions | |||
Convert Numeric into Text | Excel Worksheet Functions | |||
How do I convert a Julian date into a regular date? | Excel Discussion (Misc queries) |