+ Reply to Thread
Results 1 to 7 of 7

Formulas with text appear with wrong result

  1. #1
    Registered User
    Join Date
    04-09-2021
    Location
    Paris, France
    MS-Off Ver
    16.47.1
    Posts
    2

    Formulas with text appear with wrong result

    Hello everyone, I am new to this forum but would really appreciate your help!

    I am doing calculations with text that comes after using &, the problem is that in some cells the results are wrong... You can see the formula on the screenshot attached, and as you can tell, the first 3 numbers are showing up weird. All of the cells are "General" numbers, so I don't know why the formula does not work on all cells... Does anyone know how to fix this?

    Thank you so much!

    Screenshot 2021-04-09 at 11.40.31.png
    Last edited by Lyse; 04-09-2021 at 11:05 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,501

    Re: Formulas with text appear with wrong result

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    18,401

    Re: Formulas with text appear with wrong result

    I found the same results.

    If the formula is appended with any text (even blank) the results are as your attachment.

    Changing the format to NUMBER with 2 decimal places leave the results unchanged: removing the text results in number being shown with correct format.

    No idea as to why the row 12 calculation appears O.K

    Last edited by JohnTopley; 04-09-2021 at 06:15 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,501

    Re: Formulas with text appear with wrong result

    This will fix it:

    =(TEXT(K9-I9,"0.00")&" pts")

    Commas need replacing by semi-colons for a Eurpoean locale.

    Excel 2016 (Windows) 32 bit
    I
    J
    K
    9
    19.51
    0.74 pts
    20.25
    10
    60.96
    0.85 pts
    61.81
    11
    35.45
    -0.26 pts
    35.19
    12
    3.59
    -0.59 pts
    3
    Sheet: Sheet2

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    Waterlooville,England
    MS-Off Ver
    Office 2010
    Posts
    18,401

    Re: Formulas with text appear with wrong result

    Hopefully one of the gurus might be able to explain the inconsistencies ! One of those TEXT vs NUMBER issues?

  6. #6
    Registered User
    Join Date
    04-09-2021
    Location
    Paris, France
    MS-Off Ver
    16.47.1
    Posts
    2

    Re: Formulas with text appear with wrong result

    Hello everyone,

    Thank you all so much for your help!! What you suggested AliGW worked, I am very thankful!
    I did not know about this TEXT function, it's nice to learn new things

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,501

    Re: Formulas with text appear with wrong result

    You're welcome.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] =text formula delivers wrong result
    By Gijs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-04-2019, 10:57 AM
  2. [SOLVED] Code result wrong but formula correct result
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2014, 12:26 PM
  3. [SOLVED] Wrong result adding values of text boxes in a userform.
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-27-2014, 09:46 AM
  4. Formula that will provide a text result from 3 different formulas
    By theEdge01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2013, 10:59 AM
  5. [SOLVED] Populate a Cell with text based on the result of 2 seperate formulas
    By Medwards73 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2012, 08:56 AM
  6. Replies: 19
    Last Post: 01-05-2011, 10:03 AM
  7. [SOLVED] excel result return wrong calcuation result
    By garyww in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 06:20 AM

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