PC Review


Reply
Thread Tools Rate Thread

Deleting Part of a cell value

 
 
newguy
Guest
Posts: n/a
 
      1st Dec 2007
I have a worksheet I have imported from another source and the Date
column also has a time stamp with it which I don't want. I would like
to cycle through all the cells and seperate the date from the time
stamp and delete the time stamp.

Here is what I have:
13-Aug-2007 04:46:42 PM PDT

Here is what I want:
13-Aug-2007

Thanks
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      1st Dec 2007
High-light your data and pull-down:
Data > Text to columns
use the space character as the separator. This will produce 4 columns.
Keep only the first
--
Gary''s Student - gsnu2007a


"newguy" wrote:

> I have a worksheet I have imported from another source and the Date
> column also has a time stamp with it which I don't want. I would like
> to cycle through all the cells and seperate the date from the time
> stamp and delete the time stamp.
>
> Here is what I have:
> 13-Aug-2007 04:46:42 PM PDT
>
> Here is what I want:
> 13-Aug-2007
>
> Thanks
>

 
Reply With Quote
 
Bill Renaud
Guest
Posts: n/a
 
      2nd Dec 2007
Using Data > Text to columns will work if the data is still in text format.
However, if Excel converted the date and time stamps to dateserial values
(numbers), then you may have to insert a new column to the right of the
Date/Time, and use a formula:

B1: =Int(A1)

Copy and PasteSpecial the values back into the column, then delete the
original column of Date/Time.

--
Regards,
Bill Renaud



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting part of a cell Fatboy Microsoft Excel Discussion 2 7th Aug 2008 03:21 AM
Deleting part of a cell =?Utf-8?B?UGFvbGFBbmRyZWE=?= Microsoft Excel Misc 1 17th Feb 2006 06:51 AM
deleting part of a cell =?Utf-8?B?amVuaG93?= Microsoft Excel Worksheet Functions 2 20th Aug 2004 02:39 PM
deleting part of a cell =?Utf-8?B?Q0dvZGV0?= Microsoft Excel Misc 1 27th Apr 2004 06:53 PM
Deleting Information from part of a cell Rory Shortland Microsoft Excel Misc 2 30th Jul 2003 06:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:21 PM.