Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there an easy way to change a date format from mm/dd/yy to yyyymmdd?
Also how would I perform the function of only coping over the year to a new column once I have it in the yyyymmdd format? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 1. =TEXT(A1,"yyyymmdd") this will make it text, otherwise you can just use a custom format like yyyymmdd that way it will still be the same date, however if you type the date as yyyymmdd it will be the incorrect date 2. =YEAR(A1) or if done on the text function =LEFT(B1,4) or if you want a number =--LEFT(B1,4) -- Regards, Peo Sjoblom http://nwexcelsolutions.com "juamig" wrote in message ... Is there an easy way to change a date format from mm/dd/yy to yyyymmdd? Also how would I perform the function of only coping over the year to a new column once I have it in the yyyymmdd format? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This worked, thank you.
"Peo Sjoblom" wrote: 1. =TEXT(A1,"yyyymmdd") this will make it text, otherwise you can just use a custom format like yyyymmdd that way it will still be the same date, however if you type the date as yyyymmdd it will be the incorrect date 2. =YEAR(A1) or if done on the text function =LEFT(B1,4) or if you want a number =--LEFT(B1,4) -- Regards, Peo Sjoblom http://nwexcelsolutions.com "juamig" wrote in message ... Is there an easy way to change a date format from mm/dd/yy to yyyymmdd? Also how would I perform the function of only coping over the year to a new column once I have it in the yyyymmdd format? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula for determining if two date columns fall within specific date range | Excel Worksheet Functions | |||
Formula for determining if two date columns fall within specific date range | Excel Discussion (Misc queries) | |||
date format and the RIGHT function | Excel Worksheet Functions | |||
date format and the RIGHT function | Excel Worksheet Functions | |||
formula for filtering and a defaulting date | Excel Worksheet Functions |