+ Reply to Thread
Results 1 to 8 of 8

TEXT function result differs between users

  1. #1
    Registered User
    Join Date
    12-14-2012
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    4

    TEXT function result differs between users

    Hi,

    I have a relatively simple formula to consolidate a date with a text string. It works on my machine with MS Office 2007 and UK Regional settings.
    Cell A1 contains a date formatted as: 2013-03-25
    Cell A2 contains a text string: 1,5 weeks
    Cell A3 contains a formula: ="End date is: "&TEXT(A1+(LEFT(A2;2)*7);"yyyy-mm-dd")&" (incl. "&A2&")"
    Displayed result in A3: End date is: 2013-04-01 (incl. 1,5 weeks)

    My colleague who has MS Office 2003 and Swedish Regional settings get the following result in A3:
    End date is: yyyy-00-01 (incl. 1,5 weeks)

    Any suggestions as to what could cause this?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: TEXT function result differs between users

    Post deleted - pls ignore.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    12-14-2012
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: TEXT function result differs between users

    Does anyone have a solution to this problem, or at least an explanation as to why it doesn't work? / Thanks

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: TEXT function result differs between users

    It is a language conflict
    May be this file will help you
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: TEXT function result differs between users

    This version is longer but should work with most regional settings

    ="End date is: "&YEAR(A1+LEFT(A2;2)*7)&"-"&TEXT(MONTH(A1+LEFT(A2;2)*7);"00")&"-"&TEXT(DAY(A1+LEFT(A2;2)*7);"00")&" (incl. "&A2&")"

    Note: by using LEFT(A2;2) you only take 1, from 1,5 thereby adding only one week not one and a half - not sure that's your intention
    Audere est facere

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: TEXT function result differs between users

    if it is only one cell that causes the issue you could define a name called FormatA1 which refers to:
    =GET.CELL(7,'sheet_name'!$A$1)
    and change your formula to
    ="End date is: "&TEXT(A1+(LEFT(A2;2)*7);FormatA1)&" (incl. "&A2&")"
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  7. #7
    Registered User
    Join Date
    12-14-2012
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: TEXT function result differs between users

    Thank you! That did the trick (even though I must admit I don't fully understand why).

  8. #8
    Registered User
    Join Date
    12-14-2012
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: TEXT function result differs between users

    To daddylonglegs: Thanks for making me aware of this mistake!
    Last edited by mandersten; 04-02-2013 at 11:06 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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