Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Separate Date from a Text String
The data that I have looks like this:
[10/24/10 11:45PM] And I would like to just get the date like this: 10/24/10 Is there any way to do this in Excel with a formula? Thanks!! Sara |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Separate Date from a Text String
hi
assuming your text string is in A2,try this formula, =MID(A2,2,8) regards FSt1 "Sara" wrote: The data that I have looks like this: [10/24/10 11:45PM] And I would like to just get the date like this: 10/24/10 Is there any way to do this in Excel with a formula? Thanks!! Sara |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Separate Date from a Text String
One way...
A1 = [10/24/10 11:45PM] =--REPLACE(LEFT(A1,FIND(" ",A1)),1,1,"") Format as Date -- Biff Microsoft Excel MVP "Sara" wrote in message ... The data that I have looks like this: [10/24/10 11:45PM] And I would like to just get the date like this: 10/24/10 Is there any way to do this in Excel with a formula? Thanks!! Sara |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Separate Date from a Text String
Thanks so much!!! Exactly the formula I needed.
"FSt1" wrote: hi assuming your text string is in A2,try this formula, =MID(A2,2,8) regards FSt1 "Sara" wrote: The data that I have looks like this: [10/24/10 11:45PM] And I would like to just get the date like this: 10/24/10 Is there any way to do this in Excel with a formula? Thanks!! Sara |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
separate two dates from a text string into two separate cells | Excel Discussion (Misc queries) | |||
separate text string | Excel Worksheet Functions | |||
Parsing a text string into separate cells | Excel Worksheet Functions | |||
Separate a FirstLast text string into two columns | Excel Discussion (Misc queries) | |||
Converting Text String to Separate Numbers | Excel Discussion (Misc queries) |