+ Reply to Thread
Results 1 to 4 of 4

Transfer text to value

  1. #1
    Registered User
    Join Date
    01-11-2011
    Location
    Boston, US
    MS-Off Ver
    Excel 2013
    Posts
    9

    Transfer text to value

    Hi,

    I want to use a formular to transfer 1.312,19 to value format like 1,312.19.

    Can someone help?

    Thanks!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,033

    Re: Transfer text to value

    here,

    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1, ".", CHAR(135)), ",", "."), CHAR(135), ",")
    Never use Merged Cells in Excel

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Transfer text to value

    Try this, if your original value is in A1
    =VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,",","@"),".",","),"@","."))
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Transfer text to value

    Perhaps one of these approaches will help.

    This formula converts the source text to a number, which can then be formatted any way you want:
    Please Login or Register  to view this content.
    This one creates numeric text in the format you describe:
    Please Login or Register  to view this content.


    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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