LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nav
 
Posts: n/a
Default Datevlaue function/ day/month/year function

Thanks for your help, this works a real treat.

Regards, Nav

"daddylonglegs" wrote:


You could try a formula in another column, e.g. if your dates are in
column A use this in B1 and copy down

=IF(ISTEXT(A1),VALUE(REPLACE(MID(A1,4,3)&A1,7,3,"" )),DATE(YEAR(A1),DAY(A1),MONTH(A1)))

If the "date" is of the form 01/20/05 and excel is treating it as text
it will convert to a date, i.e. 20/01/05 or if it's being treated as a
date but the wrong one - e.g. 10th december becomes 12th October - it
will switch the month and day.

Note: this is designed to work where the days and months are always
shown as two digits e.g. 01 not just 1


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=503297


 
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 & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


All times are GMT +1. The time now is 12:55 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"