+ Reply to Thread
Results 1 to 3 of 3

Date and Time Formatting

  1. #1
    Registered User
    Join Date
    10-23-2006
    Posts
    7

    Angry Date and Time Formatting

    Hi all,

    I have a column in my worksheet that displays date and time in the following format:

    DD:MM:YY HH:MM.

    Any function i build into the worksheet using this column will take the HH:MM into account. Is there a fast way of editing this column to remove the HH:MM. I have tried various formats and the cell does not show the HH:MM but the data is still there. I am getting tired of manually editting these columns. I do not want to have to change the source sequel tables to not contain the HH:MM as this data is used occasionally.

    Can anyone help??

    thanks
    brook

  2. #2
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    suppose your data is in column A starting from A1, then maybe in an empty column enter the formula

    =DATE(YEAR(A1),MONTH(A1),DAY(A1))

    and copy down, then simply copy this column and paste special in your original column


    Mangesh

  3. #3
    Registered User
    Join Date
    09-21-2006
    Location
    Dublin
    Posts
    7
    If you want to show the date as text ...... text(A1,"mm/dd/yy")
    If you want to show the date as a value ...... value(text(A1,"mm/dd/yy"))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1