+ Reply to Thread
Results 1 to 3 of 3

Date sort problems

  1. #1
    Graham_Wright
    Guest

    Date sort problems

    I have a data base in Excel on A Mac with one column listing dates.
    I need to sort the data into date order but some of the date entries appear
    not to be treated as dates.
    The format tab indicates that all the entries ARE dates, but if I do a
    DATEVALUE() on the range, some convert to numbers but others to "VALUE".
    Even if I re-enter the dates manually, they still do not sort porperly.
    Anyone able to help please?

  2. #2
    Richard Neville
    Guest

    Re: Date sort problems

    When I switched from Mac to PC some years ago, I had trouble with dates
    created on a Mac because it uses the 1904 date system, while PCs use the
    1900 system and some dates were four years off. Check the setting in
    Tools-Options-Calculation.

    "Graham_Wright" <[email protected]> wrote in message
    news:[email protected]...
    >I have a data base in Excel on A Mac with one column listing dates.
    > I need to sort the data into date order but some of the date entries
    > appear
    > not to be treated as dates.
    > The format tab indicates that all the entries ARE dates, but if I do a
    > DATEVALUE() on the range, some convert to numbers but others to "VALUE".
    > Even if I re-enter the dates manually, they still do not sort porperly.
    > Anyone able to help please?




  3. #3
    Bernie Deitrick
    Guest

    Re: Date sort problems

    Graham,

    Insert and format a column as date, then use a formula in that column to
    convert your values. Assuming your first date in in cell A1:

    =IF(ISERROR(DATEVALUE(A1)),A1,DATEVALUE(A1))

    Copy down to match your data, then sort based on the formula column.

    You could copy and pastespecial values and delete your original data to
    simplify things.

    HTH,
    Bernie
    MS Excel MVP

    "Graham_Wright" <[email protected]> wrote in message
    news:[email protected]...
    > I have a data base in Excel on A Mac with one column listing dates.
    > I need to sort the data into date order but some of the date entries

    appear
    > not to be treated as dates.
    > The format tab indicates that all the entries ARE dates, but if I do a
    > DATEVALUE() on the range, some convert to numbers but others to "VALUE".
    > Even if I re-enter the dates manually, they still do not sort porperly.
    > Anyone able to help please?




+ 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