![]() |
Stripping Information
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 |
Stripping Information
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 On Jan 11, 5:31*pm, Kent wrote: 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 |
Stripping Information
If the data is not date/time then:
=LEFT(A1,FIND(" ",A1,1)-1) -- Gary''s Student - gsnu200765 "Kent" wrote: 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 |
Stripping Information
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. -- Cheers, Michelle "Anyone who says he can see through women is missing a lot." Groucho Marx "Kent" wrote: 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 |
Stripping Information
Thank you!
"Pete_UK" wrote: 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 On Jan 11, 5:31 pm, Kent wrote: 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 |
Stripping Information
Thank you!
"Gary''s Student" wrote: If the data is not date/time then: =LEFT(A1,FIND(" ",A1,1)-1) -- Gary''s Student - gsnu200765 "Kent" wrote: 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 |
Stripping Information
Thank you!
"Michelle" wrote: 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. -- Cheers, Michelle "Anyone who says he can see through women is missing a lot." Groucho Marx "Kent" wrote: 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 |
Stripping Information
You're welcome - thanks for taking the trouble to feed back.
Pete On Jan 11, 7:21*pm, Kent wrote: Thank you! "Pete_UK" wrote: 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 On Jan 11, 5:31 pm, Kent wrote: 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- Hide quoted text - - Show quoted text - |
All times are GMT +1. The time now is 12:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com