Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Convert number to date

I have a field that shows as 200404 (format General) which I would like
to show as Apr2004, I have tried changeing the format to date mmyyy,
but that shows up as Sept 48 .

I feel sure this must be an easy (and often used ) procedure, can any
body advise me how best to do it please

Bob

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Convert number to date

Try this formula...

=DATE(LEFT(A1, 4), MID(A1, 5,2), 1)
Where 200404 is in Cell A1
--
HTH...

Jim Thomlinson


"Box666" wrote:

I have a field that shows as 200404 (format General) which I would like
to show as Apr2004, I have tried changeing the format to date mmyyy,
but that shows up as Sept 48 .

I feel sure this must be an easy (and often used ) procedure, can any
body advise me how best to do it please

Bob


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 751
Default Convert number to date

=TEXT(DATE(1900,--RIGHT(A2,2),1),"Mmm")&LEFT(A2,4)

HTH
Kostis Vezerides



Box666 wrote:
I have a field that shows as 200404 (format General) which I would like
to show as Apr2004, I have tried changeing the format to date mmyyy,
but that shows up as Sept 48 .

I feel sure this must be an easy (and often used ) procedure, can any
body advise me how best to do it please

Bob


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
Date formulas DRondeau Excel Discussion (Misc queries) 7 September 6th 06 09:53 PM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Need help: convert seconds to date and time misty1 Excel Discussion (Misc queries) 2 November 26th 05 04:12 AM
How can I convert a date into a week number... msbutton27 Excel Worksheet Functions 7 May 25th 05 09:44 PM
extract numbers, convert to date gkaspen Excel Discussion (Misc queries) 7 March 2nd 05 02:31 AM


All times are GMT +1. The time now is 11:23 AM.

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

About Us

"It's about Microsoft Excel"