export in text and functionality

xgary.wilsonx

New Member
Joined
Dec 17, 2009
Messages
40
Good afternoon

I have an extract of data that i wish to filter/search etc, however the driver is the date which is in a text format. I have tried unsuccessfully to alter the format of the date but i always seem draw a blank. The data looks something like this '01/12/2010 13:45:08'

Can anybody suggest a method of altering this data so that i can search by date, such as 01/12/2010 or 40513

many thanks in advance

GW
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try the following and see if it works for you.
1. Select the column where these dates are.
2. Do text to column and specify the format as "Date"
This should convert the data to dates.
 
Upvote 0
Thanks but already tried the obvious, The text string '01/12/2010 13:45:08' cannot be used for analysis by simply changing the format, i need to pick out the date as a date or number - 40513 so that a lookup or index formula will be able to identify and use it

Thanks for all your help so far
 
Upvote 0
If you just want to pick the date out for use in a lookup function, it can be done as follows:

Excel Workbook
AB
1301 Dec 2010 13:45:0801-Dec-10
14
Sheet1


It is picked out using the left function, which creates the date as a text string, you then multiply it by 1 or add 0 to it to convert it back to a number. Obviously the number can then be formatted as a date and used in any formula.

Wardy.
 
Upvote 0
You can also try:
=INT(A1)
where A1 contains your Text Data. You can format the cell as you want to.
 
Upvote 0

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top