Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a report that has a YRDATE format where YR=last two digits of the year
the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
try this where f12 is 05115
=DATEVALUE("1/1/20"&LEFT(F12,2))+RIGHT(F12,LEN(F12)-2)-1 -- Don Guillett SalesAid Software "jlynn2000" wrote in message ... I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is F12 a number or text format? When using my location for 05115 in the
formula, as a text field it gives me something other then a date. "Don Guillett" wrote: try this where f12 is 05115 =DATEVALUE("1/1/20"&LEFT(F12,2))+RIGHT(F12,LEN(F12)-2)-1 -- Don Guillett SalesAid Software "jlynn2000" wrote in message ... I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did it give you 38467? If so, change the cell format for the result cell
from General (or Number) to Date. -- David Biddulph "jlynn2000" wrote in message ... Is F12 a number or text format? When using my location for 05115 in the formula, as a text field it gives me something other then a date. "Don Guillett" wrote: try this where f12 is 05115 =DATEVALUE("1/1/20"&LEFT(F12,2))+RIGHT(F12,LEN(F12)-2)-1 "jlynn2000" wrote in message ... I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you David and Don I appreciate your assistance!! It worked and I have
converted over 19000 lines. Thanks again! "David Biddulph" wrote: Did it give you 38467? If so, change the cell format for the result cell from General (or Number) to Date. -- David Biddulph "jlynn2000" wrote in message ... Is F12 a number or text format? When using my location for 05115 in the formula, as a text field it gives me something other then a date. "Don Guillett" wrote: try this where f12 is 05115 =DATEVALUE("1/1/20"&LEFT(F12,2))+RIGHT(F12,LEN(F12)-2)-1 "jlynn2000" wrote in message ... I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Glad to help.
-- Don Guillett SalesAid Software "jlynn2000" wrote in message ... Thank you David and Don I appreciate your assistance!! It worked and I have converted over 19000 lines. Thanks again! "David Biddulph" wrote: Did it give you 38467? If so, change the cell format for the result cell from General (or Number) to Date. -- David Biddulph "jlynn2000" wrote in message ... Is F12 a number or text format? When using my location for 05115 in the formula, as a text field it gives me something other then a date. "Don Guillett" wrote: try this where f12 is 05115 =DATEVALUE("1/1/20"&LEFT(F12,2))+RIGHT(F12,LEN(F12)-2)-1 "jlynn2000" wrote in message ... I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel date scheduling not msProject | Excel Worksheet Functions | |||
Date formulas | Excel Discussion (Misc queries) | |||
How to return a value between date ranges | Excel Worksheet Functions | |||
Date Question | Excel Discussion (Misc queries) | |||
NETWORKDAYS - Multiple Date Selection | Excel Discussion (Misc queries) |