Stripping Information

K

Kent

I am working with data imported from Solomon Reports, and one of the columns
comes over as follows:

12/11/2007 00:00:00

When I look at the cell formatting, it is general, not formatted as
date/time. I want to strip the 00:00:00 and just be left with the date, is
there an easy way to do this in Excel???
Thanks,
Kent
 
P

Pete_UK

Assuming your "date/time" is in A1, put this in B1:

=LEFT(A1,10)*1

and format the cell as a date. Copy down as required.

Hope this helps.

Pete
 
M

Michelle

Perhaps you could insert another column and insert the formula
=LEFT(A1,FIND(" ",A1,1)-1)

The FIND function finds the index where the space occurs, and the left
function displays the text from the first character up to one before the
space. Drag the formula down for each date you want to strip out.

Hope this helps.
 
K

Kent

Thank you!

Pete_UK said:
Assuming your "date/time" is in A1, put this in B1:

=LEFT(A1,10)*1

and format the cell as a date. Copy down as required.

Hope this helps.

Pete
 
K

Kent

Thank you!

Michelle said:
Perhaps you could insert another column and insert the formula
=LEFT(A1,FIND(" ",A1,1)-1)

The FIND function finds the index where the space occurs, and the left
function displays the text from the first character up to one before the
space. Drag the formula down for each date you want to strip out.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top