Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
General Number field has 19820431. How to convert to 04/31/1982?
I'm afraid that would be impossible since April only has 30 days! As long as there is always a 4 digit year, 2 digit month and 2 digit day: =DATE(--LEFT(A1,4),--MID(A1,5,2),--RIGHT(A1,2)) Biff "Leigh" wrote in message ... |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If all your data is in the same format as you posted in your example, you
can use TTC (TextToColumns). You should realize however, that April has *only* 30 days. Select your column of data, then, <Data <TextToColumns <Next <Next Click on "Date", and make sure that YMD (your *present* configuration) shows in the date box. Then <Finish. -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Leigh" wrote in message ... |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another way would be to use datatext to columns, click next twice then
under column data format select date and YMD, won't of course work with this particular number due to the 31st April but for reasonable dates it would <g -- Regards, Peo Sjoblom Northwest Excel Solutions www.nwexcelsolutions.com (remove ^^ from email address) Portland, Oregon "Biff" wrote in message ... General Number field has 19820431. How to convert to 04/31/1982? I'm afraid that would be impossible since April only has 30 days! As long as there is always a 4 digit year, 2 digit month and 2 digit day: =DATE(--LEFT(A1,4),--MID(A1,5,2),--RIGHT(A1,2)) Biff "Leigh" wrote in message ... |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, this is exactly what I need. Thanks a ton.
"Biff" wrote: General Number field has 19820431. How to convert to 04/31/1982? I'm afraid that would be impossible since April only has 30 days! As long as there is always a 4 digit year, 2 digit month and 2 digit day: =DATE(--LEFT(A1,4),--MID(A1,5,2),--RIGHT(A1,2)) Biff "Leigh" wrote in message ... |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, I tried both Peo and Biff's suggested and they both work. Saved a bunch
of time. Thanks. "Peo Sjoblom" wrote: Another way would be to use datatext to columns, click next twice then under column data format select date and YMD, won't of course work with this particular number due to the 31st April but for reasonable dates it would <g -- Regards, Peo Sjoblom Northwest Excel Solutions www.nwexcelsolutions.com (remove ^^ from email address) Portland, Oregon "Biff" wrote in message ... General Number field has 19820431. How to convert to 04/31/1982? I'm afraid that would be impossible since April only has 30 days! As long as there is always a 4 digit year, 2 digit month and 2 digit day: =DATE(--LEFT(A1,4),--MID(A1,5,2),--RIGHT(A1,2)) Biff "Leigh" wrote in message ... |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, and you gave perfect easy to follow instructions. Worked like a charm!
"Ragdyer" wrote: If all your data is in the same format as you posted in your example, you can use TTC (TextToColumns). You should realize however, that April has *only* 30 days. Select your column of data, then, <Data <TextToColumns <Next <Next Click on "Date", and make sure that YMD (your *present* configuration) shows in the date box. Then <Finish. -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Leigh" wrote in message ... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
convert dates to number of days | Excel Worksheet Functions | |||
how can I convert numeric number into text | Excel Discussion (Misc queries) | |||
How do i convert number to wording | Excel Discussion (Misc queries) | |||
"Convert to Number" option disappearing | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |