Note: The other languages of the website are Google-translated. Back to English
Inloggen  \/ 
x
or
x
Registreer  \/ 
x

or

Hoe snel getallen naar Engelse woorden in Excel converteren?

Als u een kolom met numerieke waarden in een werkblad heeft, en nu moet u ze in hun equivalente Engelse woorden of Engelse valutawoorden verdelen, zoals in het onderstaande screenshot. Hier zal ik het hebben over hoe je de cijfers snel en gemakkelijk in Engelse woorden kunt veranderen.

Converteer getallen naar Engelse woorden met door de gebruiker gedefinieerde functie

Converteer getallen naar valutawoorden met door de gebruiker gedefinieerde functie

Converteer getallen naar valutawoorden met een handige functie


Converteer getallen naar Engelse woorden met door de gebruiker gedefinieerde functie

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

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

2. Klikken Invoegen > Moduleen plak de volgende code in het Module Venster.

Function NumberstoWords(ByVal MyNumber)
'Update by Extendoffice
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. Bewaar en sluit deze code en ga terug naar het werkblad, voer deze formule in een lege cel in = Cijfers naar Woorden (A2)( A2 is de cel waarvan u het nummer naar een Engels woord wilt converteren), zie screenshot:

4. Druk vervolgens op Enter -toets en selecteer cel C2 en sleep vervolgens de vulgreep naar het bereik waarin u deze formule wilt opnemen. Alle numerieke waarden zijn omgezet naar hun overeenkomstige Engelse woorden.

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


Converteer getallen naar valutawoorden met door de gebruiker gedefinieerde functie

Als u de cijfers naar Engelse valutawoorden wilt converteren, 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 Invoegen > Moduleen plak de volgende code in het Module Venster.

Function SpellNumberToEnglish(ByVal pNumber)
'Update by Extendoffice
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 waarvan u het getal naar een Engels valutawoord wilt converteren), en sleep vervolgens de vulgreep naar de cellen waarop u deze formule wilt toepassen, alle getallen 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 Getallen naar woordenMet dit hulpprogramma kunt u de cijfers snel in Engelse woorden of valutawoorden spellen.

Tips:Om dit toe te passen Getallen naar woorden -functie, ten eerste moet u de Kutools for Excelen pas de functie vervolgens snel en gemakkelijk toe.

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

1. Selecteer de lijst met getallen die u wilt converteren en klik op Kutools > Content > Getallen naar woorden, zie screenshot:

2. In de Getallen naar valutawoorden dialoge box, vink aan English optie van de Talen keuzelijst en klik vervolgens op Ok -knop, ziet u dat alle cijfers in Engelse valutawoorden zijn gespeld:

Tips: Als u de Engelse woorden wilt hebben, controleer dan de Niet geconverteerd naar valuta selectievakje van het Opties sectie, zie screenshots:

Klik om Kutools voor Excel en nu gratis uit te proberen!


De beste tools voor kantoorproductiviteit

Kutools voor Excel lost de meeste van uw problemen op en verhoogt uw productiviteit met 80%

  • visfuik: Snel invoegen complexe formules, grafieken en alles wat je eerder hebt gebruikt; Versleutel cellen met wachtwoord; Maak een mailinglijst en stuur e-mails ...
  • Super Formula-balk (bewerk eenvoudig meerdere regels tekst en formule); Lay-out lezen (gemakkelijk grote aantallen cellen lezen en bewerken); Plakken in gefilterd bereik...
  • Voeg cellen / rijen / kolommen samen zonder gegevens te verliezen; Gespleten cellen inhoud; Combineer dubbele rijen / kolommen... Voorkom dubbele cellen; Vergelijk Ranges...
  • Selecteer Dupliceren of Uniek Rijen; Selecteer lege rijen (alle cellen zijn leeg); Super zoeken en fuzzy zoeken in veel werkboeken; Willekeurige selectie ...
  • Exacte kopie Meerdere cellen zonder de formuleverwijzing te wijzigen; Maak automatisch verwijzingen naar meerdere bladen; Plaats kogels, Selectievakjes en meer ...
  • Extraheer tekst, Tekst toevoegen, Verwijderen op positie, Ruimte verwijderen; Paging-subtotalen maken en afdrukken; Converteren tussen celinhoud en opmerkingen...
  • Super filter (bewaar en pas filterschema's toe op andere bladen); Geavanceerd sorteren 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. Gratis proefperiode van 30 dagen met volledige functies. 60 dagen geld-terug-garantie.
kte tabblad 201905

Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, 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 vermindert elke dag honderden muisklikken voor u!
officetab onderkant
Say something here...
symbols left.
You are guest
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.
    Vignesh · 1 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.
      skyyang · 1 months ago
      Hello, Vignesh,
      To keep the code work correctly, you should save the workbbok as Excel Macro-Enabled Workbook format.
      Please try, hope it can help you!
  • To post as a guest, your comment is unpublished.
    Vignesh · 1 months ago
    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.
    Vamshikrishna · 2 months ago
    how do I convert 1101 to One One Zero One? I don't need dollars just want actual digits.
  • To post as a guest, your comment is unpublished.
    Ashraf · 4 months ago
    I need to write only after words
  • To post as a guest, your comment is unpublished.
    Aami · 8 months ago
    Can anybody tell how to fix 'Cents', sometimes figure 0.98 shows in words Ninety Seven !
  • To post as a guest, your comment is unpublished.
    Shahrukh Abid · 8 months ago
    how to write in words 7865,76
  • To post as a guest, your comment is unpublished.
    rahul · 9 months ago
    sir cents formula not working properly when i type one cent in number then output is ten like 2.1 out put Two Dollars and Ten cents
  • To post as a guest, your comment is unpublished.
    Kazouh · 1 years ago
    how do I convert 1101 to OneOneZeroOne? I don't need dollars just want actual digits.
  • To post as a guest, your comment is unpublished.
    Ansad · 1 years ago
    thank sir super

  • To post as a guest, your comment is unpublished.
    Joseph Kiran Lanka · 1 years ago
    thank you so much
  • To post as a guest, your comment is unpublished.
    Daryl · 1 years ago
    How to edit the code to translate 0.89 to Eighty Nine Cents Only?
  • To post as a guest, your comment is unpublished.
    MD HASHMATH · 2 years 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 · 2 years 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 · 2 years 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 · 2 years ago
    desimal number not show in english from numberstowords formula
    • To post as a guest, your comment is unpublished.
      skyyang · 2 years 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 · 2 years ago
    not work Properly...
  • To post as a guest, your comment is unpublished.
    Alexa · 2 years ago
    This is helpful. Thank you so much :)
  • To post as a guest, your comment is unpublished.
    SUREN · 2 years ago
    Dear sir,
    it is not converting in to INR
    • To post as a guest, your comment is unpublished.
      Suman · 1 years ago
      You should change all dollars into INR words
      • To post as a guest, your comment is unpublished.
        sakhawat ali · 2 months ago
        Sir how i can change dollars into INR.?
  • To post as a guest, your comment is unpublished.
    Arsen · 2 years 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 · 2 years ago
    unable to save the module part ..some one kindly assist
  • To post as a guest, your comment is unpublished.
    Abu Arwa · 2 years ago
    Thank you so very much it solve my problem
  • To post as a guest, your comment is unpublished.
    Adnan · 2 years ago
    how can i get 0 = - or zero
  • To post as a guest, your comment is unpublished.
    shreepadsmgandhi@gmail.com · 2 years 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 · 2 years ago
    Thank you extendOfficea
  • To post as a guest, your comment is unpublished.
    Rayees Ahmed · 2 years 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 · 3 years ago
    Thanks


    Its working! :)
  • To post as a guest, your comment is unpublished.
    Thomas VJ · 3 years 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 · 3 years ago
    Thanks a lot
  • To post as a guest, your comment is unpublished.
    Siva · 3 years ago
    What about lakhs and crores
  • To post as a guest, your comment is unpublished.
    Ms. GC · 3 years 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 · 3 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 · 3 years ago
    lakh crore not in the formula. Kindly help me.
  • To post as a guest, your comment is unpublished.
    Rajkumar singh · 3 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.
      IAMSHG · 3 years ago
      use =CONCATENATE(NumberstoWords(A1)," Only")
      • To post as a guest, your comment is unpublished.
        SAIMA SYED · 3 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 · 3 years ago
    thanks for lot for u are code
  • To post as a guest, your comment is unpublished.
    vsk · 3 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 · 3 years 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 · 3 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.
    jaydeep984trivedi@gmail.com · 3 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 · 2 years 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 · 3 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 · 3 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 · 3 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 · 4 years ago
    Sir how can i convert numerical to words with last word "Only" ?
    • To post as a guest, your comment is unpublished.
      Hansraj · 3 years ago
      You have to add one more additional formula in other colum
      ="Rs."&""&F6&"Only"&"."
    • To post as a guest, your comment is unpublished.
      Atul Khadke · 3 years ago
      problem solve?????
  • To post as a guest, your comment is unpublished.
    tushar jain · 4 years ago
    this code is not working
  • To post as a guest, your comment is unpublished.
    Jayaraj Mani · 4 years ago
    Hi.. Good morning[s]Hi.. Good morning.. It is nice to meet you. [/s]