+ Reply to Thread
Results 1 to 3 of 3

Changing date format of cells

  1. #1

    Changing date format of cells

    Hi,
    I have an excel sheet that contains some dates (sample given below),
    entered in the "dd/mm/yyyy" format. But it seems excel is interpreting
    them as "mm/dd/yyyy". Whenever i try to do any date related stuff, such
    as change the format or group them together etc. It throws up on dates
    like "15/1/2006" and interprets "11/1/2006" as November - 1st - 2006

    Is there any way to change the way excel interprets these dates? Make
    them read them as "dd/mm/yyyy" rather than "mm/dd/yyyy"? Failing that,
    is there someway to automatically convert (using a macro for example)
    from one date format to other by swapping the day month fields? I just
    don't want to sit there and change/re-enter the dates manually

    9/1/2006
    10/1/2006
    11/1/2006
    15/1/2006
    16/1/2006
    16/1/2006

    Any help is much appreciated.


  2. #2

    Re: Changing date format of cells

    The general format of dates on your system is defined in Windows,
    system panel, regional and language settings. If you enter a date it is
    interpreted this way. If your settings were: DD.MM.YYYY and you would
    enter 02.25.2006 it would be treated as text, not date.

    Once you have antered a valid date, the formatting (format, cells, date
    or custom) defines how you want the date displayed.

    Use these to find how your entered dates are interpreted:

    =day(a1)
    =month(a1)
    =year(a1)

    Try formatting an input field and choose the custom formatting option
    and in the "type" box enter: DD/MM/YYYY (use capital letters)

    If that doesn't help, have a look how your fields are formatted (text
    or date) and you may have to come back.

    Hans


  3. #3

    Re: Changing date format of cells

    The general format of dates on your system is defined in Windows,
    system panel, regional and language settings. If you enter a date it is
    interpreted this way. If your settings were: DD.MM.YYYY and you would
    enter 02.25.2006 it would be treated as text, not date.

    Once you have antered a valid date, the formatting (format, cells, date
    or custom) defines how you want the date displayed.

    Use these to find how your entered dates are interpreted:

    =day(a1)
    =month(a1)
    =year(a1)

    Try formatting an input field and choose the custom formatting option
    and in the "type" box enter: DD/MM/YYYY (use capital letters)

    If that doesn't help, have a look how your fields are formatted (text
    or date) and you may have to come back.

    Hans


+ 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