+ Reply to Thread
Results 1 to 10 of 10

Changing a period by a coma on a number string.

Hybrid View

  1. #1
    Registered User
    Join Date
    12-26-2018
    Location
    Orlando
    MS-Off Ver
    2016/2017
    Posts
    62

    Changing a period by a coma on a number string.

    Hello superior being (you know this answer and I don�t so you are superior than me by default
    I have on A2 for example 5051.90.
    I want to convert on B2 to 5051,90 (The period to convert to a coma).
    How do I do it?
    Last edited by NERYONEIL; 07-18-2024 at 10:04 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,970

    Re: Changing a period by a coma on a number string.

    Maybe:

    =SUBSTITUTE(A2,".",",")

    This assumes that A2 is text, not a number.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-26-2018
    Location
    Orlando
    MS-Off Ver
    2016/2017
    Posts
    62
    The only problem with that is that is not bringing me the last 0. Example of on A2 there is a 188.10 that formula brings me 188,1 and I need 188,10. Please advise
    Last edited by AliGW; 07-18-2024 at 09:06 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,970

    Re: Changing a period by a coma on a number string.

    It was a guess in the absence of a sample workbook from you ...

    Please provide one.

  5. #5
    Registered User
    Join Date
    12-26-2018
    Location
    Orlando
    MS-Off Ver
    2016/2017
    Posts
    62
    Now is attached
    Attached Files Attached Files
    Last edited by AliGW; 07-18-2024 at 09:39 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,970

    Re: Changing a period by a coma on a number string.

    Thanks. Try this, please:

    =SUBSTITUTE(TEXT(D2,"#.00"),".",",")

  7. #7
    Registered User
    Join Date
    12-26-2018
    Location
    Orlando
    MS-Off Ver
    2016/2017
    Posts
    62
    WOW IT WORKED! Thank you so much GENIO!
    Last edited by AliGW; 07-18-2024 at 09:49 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,970

    Re: Changing a period by a coma on a number string.

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help.

  9. #9
    Registered User
    Join Date
    12-26-2018
    Location
    Orlando
    MS-Off Ver
    2016/2017
    Posts
    62
    I try to marked Solve but I do not see the link or the drop down menu that gives me the choice, I try editing too, I can’t find the “solved” . I’m doing the post from my iPhone because I’m at work does that will be why I can’t find the “solve” choice?
    Last edited by AliGW; 07-18-2024 at 11:22 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,970

    Re: Changing a period by a coma on a number string.

    Oddly, it's not in the mobile version, but you can still do this:

    You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.
    Please don't quote posts when it's not necessary. Thanks.

+ 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] Remove hyphens and period and add number 2 to beginning of string
    By mlski4751 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-12-2018, 09:55 AM
  2. [SOLVED] Calculate the portion of a planned number during a period, based on another time period
    By BryGuy81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2017, 01:29 PM
  3. Spliting coma delimited string running slow.
    By land35 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2015, 03:40 PM
  4. [SOLVED] Changing a time period...
    By ps65 in forum Excel General
    Replies: 4
    Last Post: 11-18-2013, 11:38 AM
  5. [SOLVED] Count numbers between two values in a coma delimited string of numbers
    By van23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2012, 11:42 PM
  6. Number of Digit after the coma depending on the value
    By Phil6128 in forum Excel General
    Replies: 5
    Last Post: 02-23-2012, 04:01 AM
  7. Replies: 2
    Last Post: 08-06-2011, 11:15 AM

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