Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Remove Timestamp from date

Hi,

I have a .csv file that I copy into and worksheet and use it for pivot
tables. The problem is that I need to remove the timestamp from the
date so I don't have multiple dates in the pivot dropdowns. I also
need to be able to sort on the date.

I tried picking the field apart with the left and mid functions, but it
will not sort as a date.

Any help would be greatly appreciated.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Remove Timestamp from date

=INT(A1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
Hi,

I have a .csv file that I copy into and worksheet and use it for pivot
tables. The problem is that I need to remove the timestamp from the
date so I don't have multiple dates in the pivot dropdowns. I also
need to be able to sort on the date.

I tried picking the field apart with the left and mid functions, but it
will not sort as a date.

Any help would be greatly appreciated.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Remove Timestamp from date

Bob,

That was just beautiful. Works like a charm.

Thank you so much. This will save me tons of time.

Thank You....

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Remove Timestamp from date

The simple ones are always the best <g

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ps.com...
Bob,

That was just beautiful. Works like a charm.

Thank you so much. This will save me tons of time.

Thank You....



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating a timestamp as a date and time. Dan Excel Worksheet Functions 3 April 20th 07 05:38 PM
Converting UTC timestamp value to date and time SK Excel Discussion (Misc queries) 1 March 19th 07 02:40 AM
Calculate Elapsed time: difference between 2 Date/Timestamp perio beadedbeauty Excel Worksheet Functions 4 August 24th 06 04:49 PM
Convert Unix timestamp to Readable Date/time Emily Excel Worksheet Functions 2 January 26th 06 11:59 PM
SQL Millisecond date to usable excel timestamp [email protected] Excel Programming 1 November 22nd 05 07:16 PM


All times are GMT +1. The time now is 04:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"