+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: Identifying Numeric Values within a Range Formatted as Text

  1. #16
    Registered User
    Join Date
    01-16-2007
    Posts
    1

    convert numeric value to text

    I have the same question as the rest. I would like to know the solution to the problem.

    numerical value:

    1,754.25

    convert to:

    One Thousand Seven Hundred Fifty-four and 25/100

    Please reply at my e-mail: pcperv.pico@gmail.com

    Thanks.

  2. #17
    "Eagle Eyed" Forum Moderator oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Work) and 2007 (Home)
    Posts
    7,130
    Quote Originally Posted by pcperv
    I have the same question as the rest. I would like to know the solution to the problem.

    numerical value:

    1,754.25

    convert to:

    One Thousand Seven Hundred Fifty-four and 25/100

    Please reply at my e-mail: pcperv.pico@gmail.com

    Thanks.
    Here are a number of links for the code to convert numbers to text

    http://www.ozgrid.com/VBA/ValueToWords.htm

    http://support.microsoft.com/default...;EN-US;Q213360

    http://xcell05.free.fr/english/morefunc/nbtext.htm

    In your particular case you need to separate the whole number from the decimal by firstly using

    =ROUNDDOWN(A1,0) in cell B1 and

    =RIGHT(A1,2)&"/100" in cell C1, if you use the first link for your code then you could CONCATENATE this onto

    =SpellNumber(B1)&" and "&C1
    oldchippy
    -------------


    If you are happy with the help you have received, please click the blue scales icon in the blue bar of the post.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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.2.0