Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Tim L
Lv 5
Tim L asked in Computers & InternetSoftware · 1 decade ago

How do you change a number into words in Microsoft Excel?

I'm trying to do something (without a lookup table) that will change a number like 25 into words ("twenty-five"). Is there a formula that will let me do that, or do I just need to create a big lookup table?

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Microsoft has made a custom function called SpellNumber. You can get it here...

    http://support.microsoft.com/kb/213360

    It's designed to spell out dollar amounts. e.g. 121.15 would spell out One hundred and twenty one dollars and fifteen cents. You could easily modify the code to elliminate the money terms.

    Replace the lines of code that look like the following with the following...

    Select Case Dollars

    Case ""

    'Dollars = "No Dollars"

    Case "One"

    'Dollars = "One Dollar"

    Case Else

    Dollars = Dollars

    End Select

    Select Case Cents

    Case ""

    'Cents = " and No Cents"

    'Case "One"

    'Cents = " and One Cent"

    Case Else

    Cents = " point " & Cents

    End Select

  • Anonymous
    4 years ago

    1

Still have questions? Get your answers by asking now.