+ Reply to Thread
Results 1 to 7 of 7

Dates not reading correctly

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    GLASGOW
    MS-Off Ver
    Excel 2010
    Posts
    21

    Dates not reading correctly

    I have the date 31/01/12 in cell A3 with the format mmm yy (Jan 12). In cell A3 I have the formula Text(A1,"yyyy.mm") 2012.01,and this works ok. The problem arises when I send the file to my Swedish colleague who opens the file and the format is not recognised. He needs to change the "yyyy.mm" to مممم.mm. Is there any way that the date format will work in both?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Dates not reading correctly

    Because your Windows Date setting is MM/DD/YY and your Swedish Colleague Date Setting is DD/MM/YY.

    Control Panel>>Regional and Language Option>>Regional Option>>Customize>>Date>>Short Date Format

    Hope this helps!


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Dates not reading correctly

    Because your Windows Date setting is DD/MM/YY and your Swedish Colleague Date Setting is MM/DD/YY.

    Control Panel>>Regional and Language Option>>Regional Option>>Customize>>Date>>Short Date Format

    Hope this helps!

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Dates not reading correctly

    By using TEXT you've changed the date to text, so your colleague might have trouble formatting that.

    If you need to display the date as yyyy.mm try using that as a custom format.

    Then you'll keep the date and hopefully your colleague will be able to format it as required.

  5. #5
    Registered User
    Join Date
    09-04-2012
    Location
    GLASGOW
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Dates not reading correctly

    Thank you for your advice. I have tried everything that was suggested but unfortunately it didn't work. I need the text formula (yyyy.mm) as I am using the indirect function to reference to a worksheet.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Dates not reading correctly

    If you use it ofter, you could write a macro to:

    change the dataformat of a column in a certain format (from English into Swedish)

    and then make text of it (if neccesary)>
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Dates not reading correctly

    TIERNAN

    Use the TEXT function in the INDIRECT function.

+ 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