Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Leigh
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/1982?


  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/1982?

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   Report Post  
Posted to microsoft.public.excel.misc
Ragdyer
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/1982?

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   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/1982?

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   Report Post  
Posted to microsoft.public.excel.misc
Leigh
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/19

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   Report Post  
Posted to microsoft.public.excel.misc
Leigh
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/19

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   Report Post  
Posted to microsoft.public.excel.misc
Leigh
 
Posts: n/a
Default General Number field has 19820431. How to convert to 04/31/19

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert dates to number of days milk0s Excel Worksheet Functions 2 September 28th 05 01:31 PM
how can I convert numeric number into text firas Excel Discussion (Misc queries) 1 September 21st 05 07:05 PM
How do i convert number to wording Mohammad Irfan Excel Discussion (Misc queries) 2 August 19th 05 12:10 PM
"Convert to Number" option disappearing Mike Excel Discussion (Misc queries) 2 June 10th 05 04:11 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"