LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Date formatting

Hi andrew
try the following formula in an adjacent column
=DATEVALUE(A1)
and copy down
after this copy this helper column and insert it again as 'Values' with
Edit - Paste Special

--
Regards
Frank Kabel
Frankfurt, Germany

"Andrew" schrieb im Newsbeitrag
...
Ladies & Gents,

I was wondering if someone could help me out with a little problem.

I have
an Excel spreadsheet which contains a column with date values as

Text. I
want to convert them to a Date format of "dd/mm/yyyy". Normally I

would
highlight the column, then go Data, Text to Columns, select the

entire
column as a Fixed width, then select the desired format. The problem

is
that some of the dates are 8 characters long, and some are 7

characters
long. How can I write a formula or function for this spreadsheet

which will
convert 7 & 8 character text into an 8 character date?


Thanks in advance
Andrew



 
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
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Date Formatting Robin Gray Excel Discussion (Misc queries) 3 November 12th 08 10:25 AM
formatting of date Libby Excel Discussion (Misc queries) 4 November 6th 08 11:20 PM
Date Formatting theresa317 Excel Worksheet Functions 3 April 17th 08 12:07 AM
Date formatting Liesl Excel Discussion (Misc queries) 1 March 28th 06 06:56 AM


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

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"