Tip: andere talen zijn Google-Vertaald. Je kunt het English versie van deze link.
Log in
x
or
x
x
Registreren
x

or

Hoe snel getallen naar Engelse woorden in Excel te converteren?

Als u een kolom met numerieke waarden in een werkblad hebt, en nu moet u deze conventeren in hun equivalente Engelse woorden of Engelse valutawoorden zoals in de volgende schermafbeelding wordt getoond. Hier zal ik het hebben over hoe je de getallen snel en gemakkelijk in Engelse woorden kunt veranderen.

Converteer getallen naar Engelse woorden met door de gebruiker gedefinieerde functie

Converteer getallen naar valutawoorden met User Defined Function

Converteer getallen naar valutawoorden met een handige functie


Spell lijst met getallen snel en gemakkelijk in valutawoorden

Kutools for Excel's Spell Out-nummers hulpprogramma kan u helpen alle getallen om te zetten in valutawoorden in het Engels of Chinees. Klik om Kutools voor Excel te downloaden!


Converteer getallen naar Engelse woorden met door de gebruiker gedefinieerde functie

Er zijn geen functies of formules die u kunnen helpen om deze taak rechtstreeks in Excel op te lossen, maar u kunt een door de gebruiker gedefinieerde functie maken om het af te maken. Gelieve te doen met de volgende stappen:

1. Houd de toets ingedrukt ALT + F11 toetsen, en het opent de Microsoft Visual Basic for Applications-venster.

2. Klikken bijvoegsel > moduleen plak de volgende code in de Module venster.

Function NumberstoWords(ByVal MyNumber)
'Update byExtendoffice
Dim xStr As String
Dim xFNum As Integer
Dim xStrPoint
Dim xStrNumber
Dim xPoint As String
Dim xNumber As String
Dim xP() As Variant
Dim xDP
Dim xCnt As Integer
Dim xResult, xT As String
Dim xLen As Integer
On Error Resume Next
xP = Array("", "Thousand ", "Million ", "Billion ", "Trillion ", " ", " ", " ", " ")
xNumber = Trim(Str(MyNumber))
xDP = InStr(xNumber, ".")
xPoint = ""
xStrNumber = ""
If xDP > 0 Then
xPoint = " point "
xStr = Mid(xNumber, xDP + 1)
xStrPoint = Left(xStr, Len(xNumber) - xDP)
For xFNum = 1 To Len(xStrPoint)
xStr = Mid(xStrPoint, xFNum, 1)
xPoint = xPoint & GetDigits(xStr) & " "
Next xFNum
xNumber = Trim(Left(xNumber, xDP - 1))
End If
xCnt = 0
xResult = ""
xT = ""
xLen = 0
xLen = Int(Len(Str(xNumber)) / 3)
If (Len(Str(xNumber)) Mod 3) = 0 Then xLen = xLen - 1
Do While xNumber <> ""
If xLen = xCnt Then
xT = GetHundredsDigits(Right(xNumber, 3), False)
Else
If xCnt = 0 Then
xT = GetHundredsDigits(Right(xNumber, 3), True)
Else
xT = GetHundredsDigits(Right(xNumber, 3), False)
End If
End If
If xT <> "" Then
xResult = xT & xP(xCnt) & xResult
End If
If Len(xNumber) > 3 Then
xNumber = Left(xNumber, Len(xNumber) - 3)
Else
xNumber = ""
End If
xCnt = xCnt + 1
Loop
xResult = xResult & xPoint
NumberstoWords = xResult
End Function
Function GetHundredsDigits(xHDgt, xB As Boolean)
Dim xRStr As String
Dim xStrNum As String
Dim xStr As String
Dim xI As Integer
Dim xBB As Boolean
xStrNum = xHDgt
xRStr = ""
On Error Resume Next
xBB = True
If Val(xStrNum) = 0 Then Exit Function
xStrNum = Right("000" & xStrNum, 3)
xStr = Mid(xStrNum, 1, 1)
If xStr <> "0" Then
xRStr = GetDigits(Mid(xStrNum, 1, 1)) & "Hundred "
Else
If xB Then
xRStr = "and "
xBB = False
Else
xRStr = " "
xBB = False
End If
End If
If Mid(xStrNum, 2, 2) <> "00" Then
xRStr = xRStr & GetTenDigits(Mid(xStrNum, 2, 2), xBB)
End If
GetHundredsDigits = xRStr
End Function
Function GetTenDigits(xTDgt, xB As Boolean)
Dim xStr As String
Dim xI As Integer
Dim xArr_1() As Variant
Dim xArr_2() As Variant
Dim xT As Boolean
xArr_1 = Array("Ten ", "Eleven ", "Twelve ", "Thirteen ", "Fourteen ", "Fifteen ", "Sixteen ", "Seventeen ", "Eighteen ", "Nineteen ")
xArr_2 = Array("", "", "Twenty ", "Thirty ", "Forty ", "Fifty ", "Sixty ", "Seventy ", "Eighty ", "Ninety ")
xStr = ""
xT = True
On Error Resume Next
If Val(Left(xTDgt, 1)) = 1 Then
xI = Val(Right(xTDgt, 1))
If xB Then xStr = "and "
xStr = xStr & xArr_1(xI)
Else
xI = Val(Left(xTDgt, 1))
If Val(Left(xTDgt, 1)) > 1 Then
If xB Then xStr = "and "
xStr = xStr & xArr_2(Val(Left(xTDgt, 1)))
xT = False
End If
If xStr = "" Then
If xB Then
xStr = "and "
End If
End If
If Right(xTDgt, 1) <> "0" Then
xStr = xStr & GetDigits(Right(xTDgt, 1))
End If
End If
GetTenDigits = xStr
End Function
Function GetDigits(xDgt)
Dim xStr As String
Dim xArr_1() As Variant
xArr_1 = Array("Zero ", "One ", "Two ", "Three ", "Four ", "Five ", "Six ", "Seven ", "Eight ", "Nine ")
xStr = ""
On Error Resume Next
xStr = xArr_1(Val(xDgt))
GetDigits = xStr
End Function

3. Sla deze code op en sluit deze en ga terug naar het werkblad, voer in een lege cel deze formule in = NumberstoWords (A2)( A2 is de cel waarin u het nummer wilt converteren naar een Engels woord), zie screenshot:

4. Druk vervolgens op invoeren toets en selecteer cel C2 en sleep vervolgens de vulgreep naar het bereik dat u deze formule wilt geven. Alle numerieke waarden zijn omgezet in de corresponderende Engelse woorden.

Notes: Deze code werkt alleen voor gehele getallen, maar is niet van toepassing op decimale getallen.


Converteer getallen naar valutawoorden met User Defined Function

Als u de getallen in Engelse valutawoorden wilt omzetten, moet u de onderstaande VBA-code toepassen.

1. Houd de toets ingedrukt ALT + F11 toetsen, en het opent de Microsoft Visual Basic for Applications-venster.

2. Klikken bijvoegsel > moduleen plak de volgende code in de Module venster.

Function SpellNumberToEnglish(ByVal pNumber)
'Update byExtendoffice
Dim Dollars, Cents
arr = Array("", "", " Thousand ", " Million ", " Billion ", " Trillion ")
pNumber = Trim(Str(pNumber))
xDecimal = InStr(pNumber, ".")
If xDecimal > 0 Then
    Cents = GetTens(Left(Mid(pNumber, xDecimal + 1) & "00", 2))
    pNumber = Trim(Left(pNumber, xDecimal - 1))
End If
xIndex = 1
Do While pNumber <> ""
    xHundred = ""
    xValue = Right(pNumber, 3)
    If Val(xValue) <> 0 Then
        xValue = Right("000" & xValue, 3)
        If Mid(xValue, 1, 1) <> "0" Then
            xHundred = GetDigit(Mid(xValue, 1, 1)) & " Hundred "
        End If
        If Mid(xValue, 2, 1) <> "0" Then
            xHundred = xHundred & GetTens(Mid(xValue, 2))
        Else
            xHundred = xHundred & GetDigit(Mid(xValue, 3))
        End If
    End If
    If xHundred <> "" Then
        Dollars = xHundred & arr(xIndex) & Dollars
    End If
    If Len(pNumber) > 3 Then
        pNumber = Left(pNumber, Len(pNumber) - 3)
    Else
        pNumber = ""
    End If
    xIndex = xIndex + 1
Loop
Select Case Dollars
    Case ""
        Dollars = "No Dollars"
    Case "One"
        Dollars = "One Dollar"
    Case Else
        Dollars = Dollars & " Dollars"
End Select
Select Case Cents
    Case ""
        Cents = " and No Cents"
    Case "One"
        Cents = " and One Cent"
    Case Else
        Cents = " and " & Cents & " Cents"
End Select
SpellNumberToEnglish = Dollars & Cents
End Function
Function GetTens(pTens)
Dim Result As String
Result = ""
If Val(Left(pTens, 1)) = 1 Then
    Select Case Val(pTens)
        Case 10: Result = "Ten"
        Case 11: Result = "Eleven"
        Case 12: Result = "Twelve"
        Case 13: Result = "Thirteen"
        Case 14: Result = "Fourteen"
        Case 15: Result = "Fifteen"
        Case 16: Result = "Sixteen"
        Case 17: Result = "Seventeen"
        Case 18: Result = "Eighteen"
        Case 19: Result = "Nineteen"
        Case Else
    End Select
Else
Select Case Val(Left(pTens, 1))
    Case 2: Result = "Twenty "
    Case 3: Result = "Thirty "
    Case 4: Result = "Forty "
    Case 5: Result = "Fifty "
    Case 6: Result = "Sixty "
    Case 7: Result = "Seventy "
    Case 8: Result = "Eighty "
    Case 9: Result = "Ninety "
    Case Else
End Select
Result = Result & GetDigit(Right(pTens, 1))
End If
GetTens = Result
End Function
Function GetDigit(pDigit)
Select Case Val(pDigit)
    Case 1: GetDigit = "One"
    Case 2: GetDigit = "Two"
    Case 3: GetDigit = "Three"
    Case 4: GetDigit = "Four"
    Case 5: GetDigit = "Five"
    Case 6: GetDigit = "Six"
    Case 7: GetDigit = "Seven"
    Case 8: GetDigit = "Eight"
    Case 9: GetDigit = "Nine"
    Case Else: GetDigit = ""
End Select
End Function

3. Sla deze code op en ga terug naar het werkblad, voer deze formule in een lege cel in = SpellNumberToEnglish (A2)( A2 is de cel waarin u het nummer wilt omzetten in een Engels valutawoord) en sleep de vulgreep naar de cellen waarop u deze formule wilt toepassen, alle nummers zijn gespeld in Engelse valutawoorden, zie screenshot:


Converteer getallen naar valutawoorden met een handige functie

De bovenstaande code is enigszins lastig voor Excel-beginners, hier zal ik een handige functie introduceren, Kutools for Excel's Spell Out-nummers, met dit hulpprogramma kunt u de getallen snel spellen in Engelse huidige woorden.

Tips:Om dit toe te passen Spell Out-nummers functie, ten eerste, zou u het moeten downloaden Kutools for Excelen pas de functie snel en eenvoudig toe.

Na het installeren van Kutools for Excel, doe alsjeblieft als volgt:

1. Selecteer de lijst met nummers die u wilt converteren en klik vervolgens op Kutools > Content > Spell Out-nummerszie screenshot:

2. In de Spell Out-nummers dialoge box, aanvinken English optie van de Talen keuzelijst en klik vervolgens op Ok knop, ziet u dat alle cijfers in Engelse valutawoorden zijn gespeld:

Klik om Kutools voor Excel te downloaden en nu gratis uitproberen!


Kutools voor Excel - De beste Office-productiviteitstool Verhoog uw productiviteit met 80%

  • visfuik: Snel invoegen complexe formules, grafieken en alles wat je eerder hebt gebruikt; Coderen van cellen met wachtwoord; Maak een mailinglijst en stuur e-mails ...
  • Super Formula Bar (bewerk eenvoudig meerdere regels tekst en formule); Lay-out lezen (gemakkelijk grote aantallen cellen lezen en bewerken); Plakken op gefilterd bereik...
  • Cellen / rijen / kolommen samenvoegen zonder gegevens te verliezen; Inhoud gesplitste cellen; Combineer dubbele rijen / kolommen... voorkomen dubbele cellen; Ranges vergelijken...
  • Selecteer Dupliceren of Uniek rijen; Selecteer Lege rijen (alle cellen zijn leeg); Super Find en Fuzzy Find in veel werkboeken; Willekeurig selecteren ...
  • Exacte kopie Meerdere cellen zonder formule-referentie te wijzigen; Automatisch referenties maken naar meerdere vellen; Voeg kogels toe, Selectievakjes en meer ...
  • extract Text, Tekst toevoegen, verwijderen op positie, Verwijder de spatie; Subtotalen voor paging maken en afdrukken; Converteren tussen cellen Inhoud en opmerkingen...
  • Super filter (bewaar en pas filterschema's toe op andere bladen); Geavanceerde sortering per maand / week / dag, frequentie en meer; Speciaal filter door vet, cursief ...
  • Combineer werkmappen en werkbladen; Tabellen samenvoegen op basis van sleutelkolommen; Gegevens splitsen in meerdere bladen; Batch Converteer xls, xlsx en PDF...
  • Meer dan 300 krachtige functies. Ondersteunt Office / Excel 2007-2019 en 365. Ondersteunt alle talen. Eenvoudig te implementeren in uw onderneming of organisatie. Volledige functionaliteit 60-daagse gratis proefversie.
kte-tab 201905

Tabblad Office Brengt interface met tabbladen naar Office en maakt uw werk veel eenvoudiger

  • Bewerken en lezen met tabbladen inschakelen in Word, Excel, PowerPoint, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster, in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en verlaagt dagelijks honderden muisklikken voor u!
Officetab onderaan
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    MD HASHMATH · 20 days ago
    I JUST WANT TO TRANSLATE THE DIGIT INTO TEXT. FROM 1 TO 100 LIKE 42 = FORTY TWO, 99= NINETY NINE..............
    • To post as a guest, your comment is unpublished.
      skyyang · 20 days ago
      Hello, MD,
      The code in this article can help to solve your problem, please try, hope it can help you! Thank you!
  • To post as a guest, your comment is unpublished.
    Ds Bhandari · 1 months ago
    Dear Sir,

    I do this the success but Number to English convert than Not Actualy work get the Last workd is all Number cents
    please what to do for removed cents word
  • To post as a guest, your comment is unpublished.
    s.s · 3 months ago
    desimal number not show in english from numberstowords formula
    • To post as a guest, your comment is unpublished.
      skyyang · 21 days ago
      Hello,
      The code in this article has been updated, now it can be applied to decimal numbers, please try, hope it can help you!
  • To post as a guest, your comment is unpublished.
    Rajesh Bambhaniya · 3 months ago
    not work Properly...
  • To post as a guest, your comment is unpublished.
    Alexa · 3 months ago
    This is helpful. Thank you so much :)
  • To post as a guest, your comment is unpublished.
    SUREN · 4 months ago
    Dear sir,
    it is not converting in to INR
  • To post as a guest, your comment is unpublished.
    Arsen · 4 months ago
    It is great!!!
    Do you know how to write a code for numbers in another language? In English it works pretty well.
  • To post as a guest, your comment is unpublished.
    ekta · 4 months ago
    unable to save the module part ..some one kindly assist
  • To post as a guest, your comment is unpublished.
    Abu Arwa · 6 months ago
    Thank you so very much it solve my problem
  • To post as a guest, your comment is unpublished.
    Adnan · 7 months ago
    how can i get 0 = - or zero
  • To post as a guest, your comment is unpublished.
    Shreepad S M Gandhi · 7 months ago
    I have an own set of formula combinations to convert numbers from 0 (zero) to 9999999 (Ninety Nine Lakhs Ninety Nine Thousand Nine Hundred Ninety Nine).

    (This number is the upper limit for my method. It will return an error for any number out of this range). Secondly, as it is Excel formula based method, only one cell can be converted at a time.
    Send your request to shreepadg at the rate gmail dot com
  • To post as a guest, your comment is unpublished.
    Apatel · 9 months ago
    Thank you extendOfficea
  • To post as a guest, your comment is unpublished.
    Rayees Ahmed · 9 months ago
    there is a bug when my amount is "618475" it says "Six Hundred Eighteen Thousand Four Hundred Seventy Five" instead of "six lac eighteen thousand four hundred seventy five".
  • To post as a guest, your comment is unpublished.
    Keycee · 11 months ago
    Thanks


    Its working! :)
  • To post as a guest, your comment is unpublished.
    Thomas VJ · 11 months ago
    FINE. But sorry to say that this formula is NOT working permanently ... I closed the workbook for Lunch break. After Lunch I opened the file but the formula was not working. showing error like #NAME?. Kindly intimate solutions please.
  • To post as a guest, your comment is unpublished.
    Absheer Ali · 11 months ago
    Thanks a lot
  • To post as a guest, your comment is unpublished.
    Siva · 11 months ago
    What about lakhs and crores
  • To post as a guest, your comment is unpublished.
    Ms. GC · 11 months ago
    I'm not getting the cents spell out... my amount is 123.50 and got "one hundred twenty three"... copied all the formula, please help
  • To post as a guest, your comment is unpublished.
    jjkok · 1 years ago
    For example we convert 2500 into word "Two Thousand Five Hundred", I want to translate it like " Two Thousand Five Hundred & Cents Fifty Only" so could you please help
  • To post as a guest, your comment is unpublished.
    Raj · 1 years ago
    lakh crore not in the formula. Kindly help me.
  • To post as a guest, your comment is unpublished.
    Rajkumar singh · 1 years ago
    For example we convert 2500 into word "Two Thousand Five Hundred", I want to translate it like " Two Thousand Five Hundred Only" so missing in formula is "Only"
    Please help
    • To post as a guest, your comment is unpublished.
      Shubham · 1 years ago
      use =CONCATENATE(NumberstoWords(A1)," Only")
      • To post as a guest, your comment is unpublished.
        SAIMA SYED · 1 years ago
        Really thanks dear, your formula was perfect, good, Allah Bless you.
        Regards.
  • To post as a guest, your comment is unpublished.
    MAHADEVAPPA BADIGER · 1 years ago
    thanks for lot for u are code
  • To post as a guest, your comment is unpublished.
    vsk · 1 years ago
    this code is not working permenatly ...if we close and open the sheet its not working
    • To post as a guest, your comment is unpublished.
      RAMPRASAD · 11 months ago
      Save the file as "Macro Enabled Work Book" and enable Macros when you open it
  • To post as a guest, your comment is unpublished.
    Martin Gich · 1 years ago
    ADD THE WORD AND BETWEEN WORDS. One Hundred and Forty Thousand, Five Hundred and Twenty Six instead of One Hundred Forty Thousand Five Hundred Twenty Six. The sentence may not be understood well as its not proper english.
  • To post as a guest, your comment is unpublished.
    Jaydip Trivedi · 1 years ago
    Above mentioned formula in module is repeated and copied from Microsoft Website..

    Please see original link and follow Microsoft Update..

    https://support.microsoft.com/en-in/help/213360/how-to-convert-a-numeric-value-into-english-words-in-excel
    • To post as a guest, your comment is unpublished.
      Monika Borse · 20 days ago
      dear this code is showing syntax error in this line
      Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) &_"00", 2))

      can you help me ..??Reply me AS soon As possible
  • To post as a guest, your comment is unpublished.
    sjmalik · 1 years ago
    For example we convert 4000 into word "Four Thousand", I want to translate it like " Saudi Riyals Four Thousand Only" so missing in formula is "Saudi Riyals & Only"
    Please help
  • To post as a guest, your comment is unpublished.
    Sjmalik · 1 years ago
    Thanks for your kind support for creating formula. Can you please tell us if we need to add the name of currency..like Saudi Riyals or British Pounds.
  • To post as a guest, your comment is unpublished.
    Leurie · 1 years ago
    how about if the number's has a (.) like 150.75 or 3.35? please help Thanks...
  • To post as a guest, your comment is unpublished.
    Pinkesh Panchal · 1 years ago
    Sir how can i convert numerical to words with last word "Only" ?
  • To post as a guest, your comment is unpublished.
    tushar jain · 1 years ago
    this code is not working
  • To post as a guest, your comment is unpublished.
    Jayaraj Mani · 2 years ago
    Hi.. Good morning[s]Hi.. Good morning.. It is nice to meet you. [/s]