ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help converting text to date & time? (https://www.excelbanter.com/excel-worksheet-functions/218879-help-converting-text-date-time.html)

Jon M

Help converting text to date & time?
 
Rec'd date/time data as: "12/01/08@12:05 PM". Does anyone have an easy way to
conver this to date-time data for calculation in Excel?????


David Biddulph[_2_]

Help converting text to date & time?
 
Edit/ Find and Replace/ change @ to a space
or
=--SUBSTITUTE(A1,"@"," ") and format appropriately,
but in either case don't forget to tell your system (in Windows Regional
Settings under Control Panel) whether you are working in dd/mm/yy or
mm/dd/yy, as 12/01/08 is ambiguous.
--
David Biddulph


"Jon M" wrote in message
...
Rec'd date/time data as: "12/01/08@12:05 PM". Does anyone have an easy way
to
conver this to date-time data for calculation in Excel?????




Stefi

Help converting text to date & time?
 
=DATEVALUE(LEFT(A7,8))+TIMEVALUE(RIGHT(A7,8))

Regards,
Stefi

€˛Jon M€¯ ezt Ć*rta:

Rec'd date/time data as: "12/01/08@12:05 PM". Does anyone have an easy way to
conver this to date-time data for calculation in Excel?????



All times are GMT +1. The time now is 04:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com