मुख्य सामग्री पर जाएं

एक्सेल में संख्याओं को अंग्रेजी शब्दों में कैसे लिखें या परिवर्तित करें?

लेखक: ज़ियाओयांग अंतिम संशोधित: 2020-09-11

मान लीजिए कि आपके पास बहुत सारी मूल्य राशि संख्याएँ हैं, और अब आपको उन्हें टेक्स्ट स्ट्रिंग्स में बदलने या उनका उच्चारण करने की आवश्यकता है। उदाहरण के लिए, कनवर्ट करें $123.55 अंग्रेजी शब्दों के लिए एक सौ तेईस डॉलर और पचपन सेंट. एक्सेल में इस समस्या को हल करने के लिए लंबे और जटिल वीबीए कोड का उपयोग करने के अलावा कोई प्रभावी सुविधा नहीं है। इस लेख में, मैं आपको इससे निपटने के कुछ तरीकों से परिचित कराऊंगा।

VBA कोड के साथ संख्याओं को अंग्रेजी शब्दों में लिखें या बदलें

एक्सेल के लिए कुटूल के साथ संख्याओं को अंग्रेजी शब्दों में बदलें या बदलें


VBA कोड के साथ संख्याओं को अंग्रेजी शब्दों में लिखें या बदलें

निम्नलिखित लंबा वीबीए कोड आपको टेक्स्ट स्ट्रिंग में संख्याओं का उच्चारण करने में मदद कर सकता है। इस प्रकार करें:

1. दबाए रखें ALT + F11 कुंजियाँ, और यह खुल जाती है अनुप्रयोगों के लिए माइक्रोसॉफ्ट विज़ुअल बेसिक खिड़की.

2। क्लिक करें सम्मिलित करें > मॉड्यूल, और निम्नलिखित मैक्रो को इसमें पेस्ट करें मॉड्यूल विंडो.

वीबीए: एक्सेल में मुद्रा संख्याओं को अंग्रेजी शब्दों में लिखें

Function SpellNumberToEnglish(ByVal pNumber)
'Updateby20131113
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. फिर कोड को सहेजें, और वर्कशीट पर वापस आएं, आसन्न सेल बी2 में, सूत्र दर्ज करें =SpellNumberToEnglish(A1), स्क्रीनशॉट देखें:

4। फिर दबायें दर्ज कुंजी, और सेल बी2 का चयन करें, फिर भरण हैंडल को उस सीमा तक खींचें जिसमें आपकी आवश्यकता के अनुसार यह सूत्र शामिल है। और सभी मुद्रा संख्याओं को अंग्रेजी शब्दों में लिखा गया है। स्क्रीनशॉट देखें:

नोट: चूंकि वे सूत्र हैं, जब आपको उन्हें कॉपी और पेस्ट करने की आवश्यकता हो, तो कृपया मान के रूप में पेस्ट करें।


एक्सेल के लिए कुटूल के साथ संख्याओं को अंग्रेजी शब्दों में बदलें या बदलें

हो सकता है कि उपरोक्त लंबा कोड आपको पागल कर दे, कृपया चिंता न करें, यहां मैं आपको इसे हल करने का एक आसान और त्वरित तरीका बता सकता हूं। साथ एक्सेल के लिए कुटूलहै शब्दों को संख्याएँ फ़ंक्शन, आप संख्याओं को टेक्स्ट स्ट्रिंग में तेज़ी से और आसानी से परिवर्तित कर सकते हैं।

एक्सेल के लिए कुटूल- एक्सेल के लिए 300 से अधिक उपयोगी उपकरण शामिल हैं। पूर्ण सुविधा निःशुल्क परीक्षण 30-दिन, किसी क्रेडिट कार्ड की आवश्यकता नहीं! अब समझे

1. उन श्रेणी संख्याओं का चयन करें जिनकी आप वर्तनी करना चाहते हैं, और क्लिक करें कुटूल > सामग्री > शब्दों को संख्याएँ.
डॉक कुटूल संख्या से शब्द 1

2. पॉपिंग आउट संवाद बॉक्स में, चुनें अंग्रेज़ी से भाषाऐं. और आप दाईं ओर से परिणामों का पूर्वावलोकन कर सकते हैं पूर्वावलोकन फलक. स्क्रीनशॉट देखें:
डॉक कुटूल संख्या से शब्द 2

3। तब दबायें Ok or लागू करें. और सभी मूल्य राशि संख्याओं को मूल श्रेणी में टेक्स्ट स्ट्रिंग में परिवर्तित कर दिया गया है।
डॉक कुटूल संख्या से शब्द 3

नोट: यदि आप केवल संख्याओं को अंग्रेजी शब्दों (मुद्रा नहीं) में बदलना चाहते हैं, तो कृपया जांचें मुद्रा में परिवर्तित नहीं किया गया चेकबॉक्स.
डॉक कुटूल संख्या से शब्द 3 डॉक कुटूल संख्या से शब्द 3

की यह शानदार सुविधा शब्दों को संख्याएँ अंग्रेजी या चीनी में मुद्रा के पाठ में मुद्रा संख्याओं का आसानी से अनुवाद कर सकते हैं, जैसे 32.01 का अनुवाद "बत्तीस डॉलर और एक सेंट" या "叁拾贰元零壹分"। निःशुल्क परीक्षण करें!

डेमो: मुद्रा संख्याओं को अंग्रेजी शब्दों में लिखें

सर्वोत्तम कार्यालय उत्पादकता उपकरण

🤖 कुटूल्स एआई सहयोगी: निम्न के आधार पर डेटा विश्लेषण में क्रांति लाएं: बुद्धिमान निष्पादन   |  कोड जनरेट करें  |  कस्टम फ़ॉर्मूले बनाएं  |  डेटा का विश्लेषण करें और चार्ट बनाएं  |  कुटूल फ़ंक्शंस का आह्वान करें...
लोकप्रिय सुविधाएँ: डुप्लिकेट ढूंढें, हाइलाइट करें या पहचानें   |  रिक्त पंक्तियाँ हटाएँ   |  डेटा खोए बिना कॉलम या सेल को संयोजित करें   |   फॉर्मूला के बिना गोल ...
सुपर लुकअप: एकाधिक मानदंड VLookup    मल्टीपल वैल्यू वीलुकअप  |   अनेक शीटों में VLookup   |   फजी लुकअप ....
उन्नत ड्रॉप-डाउन सूची: शीघ्रता से ड्रॉप डाउन सूची बनाएं   |  आश्रित ड्रॉप डाउन सूची   |  बहु-चयन ड्रॉप डाउन सूची ....
स्तम्भ प्रबंधक: कॉलमों की एक विशिष्ट संख्या जोड़ें  |  कॉलम ले जाएँ  |  छिपे हुए कॉलम की दृश्यता स्थिति टॉगल करें  |  रेंज और कॉलम की तुलना करें ...
फीचर्ड फीचर्स: ग्रिड फोकस   |  डिजाइन देखें   |   बड़ा फॉर्मूला बार    कार्यपुस्तिका एवं शीट प्रबंधक   |  संसाधन लाइब्रेरी (ऑटो टेक्स्ट)   |  खजूर बीनने वाला   |  कार्यपत्रकों को संयोजित करें   |  एन्क्रिप्ट/डिक्रिप्ट सेल    सूची के अनुसार ईमेल भेजें   |  सुपर फ़िल्टर   |   विशेष फ़िल्टर (फ़िल्टर बोल्ड/इटैलिक/स्ट्राइकथ्रू...) ...
शीर्ष 15 टूलसेट12 टेक्स्ट टूल्स (पाठ जोड़ें, अक्षर हटाएँ, ...)   |   50 + चार्ट प्रकार (गैन्ट चार्ट, ...)   |   40+ प्रैक्टिकल सूत्र (जन्मदिन के आधार पर आयु की गणना करें, ...)   |   19 निवेशन टूल्स (QR कोड डालें, पथ से चित्र सम्मिलित करें, ...)   |   12 रूपांतरण टूल्स (शब्दों को संख्याएँ, मुद्रा रूपांतरण, ...)   |   7 विलय और विभाजन टूल्स (उन्नत संयोजन पंक्तियाँ, विभाजन कोशिकाओं, ...)   |   ... और अधिक

एक्सेल के लिए कुटूल के साथ अपने एक्सेल कौशल को सुपरचार्ज करें, और पहले जैसी दक्षता का अनुभव करें। एक्सेल के लिए कुटूल उत्पादकता बढ़ाने और समय बचाने के लिए 300 से अधिक उन्नत सुविधाएँ प्रदान करता है।  वह सुविधा प्राप्त करने के लिए यहां क्लिक करें जिसकी आपको सबसे अधिक आवश्यकता है...

Description


ऑफिस टैब ऑफिस में टैब्ड इंटरफ़ेस लाता है, और आपके काम को बहुत आसान बनाता है

  • Word, Excel, PowerPoint में टैब्ड संपादन और रीडिंग सक्षम करें, प्रकाशक, एक्सेस, विसियो और प्रोजेक्ट।
  • नई विंडो के बजाय एक ही विंडो के नए टैब में एकाधिक दस्तावेज़ खोलें और बनाएं।
  • आपकी उत्पादकता 50% बढ़ जाती है, और आपके लिए हर दिन सैकड़ों माउस क्लिक कम हो जाते हैं!
Comments (112)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi! How would I go about adding hyphens ( - ) between compound numbers, so instead of it spelling 55 as Fifty Five it would spell Fifty-Five. Simply adding hyphens to all "tens" obviously doesn't work since that would mean tat 20,000,000 would be spelled as "Twenty- Million". Thanks to whoever can solve this!
This comment was minimized by the moderator on the site
Hi! How would I go about adding hyphens ( - ) between compound numbers, so instead of it spelling 55 as Fifty Five it would spell Fifty-Five. Simply adding hyphens to all "tens" obviously doesn't work since that would mean tat 20,000,000 would be spelled as "Twenty- Million". Thanks to whoever can solve this!
This comment was minimized by the moderator on the site
not suitable for indian currency allways show in doller
This comment was minimized by the moderator on the site
Hi prem,
At present, this Numbers to Words feature enables to convert numbers to Chinese Yuan and US Dollars.
This comment was minimized by the moderator on the site
How can i get actuall figure without "no cents/ no dollars", if it's not needed. Please Email me in shown Mail ID.
This comment was minimized by the moderator on the site
HAVE U GOT ANY SOLUTION FOR THIS
This comment was minimized by the moderator on the site
just delete the no cents on line 46 and no dollars on line 38, leave it "" only
This comment was minimized by the moderator on the site
I was unable to do it, I don't know what happened to it, first of all it was OK, but only for one time then it shows this sign #NAME? can any one help me in this regards.
This comment was minimized by the moderator on the site
Save it as Excel Macro Enable Workbook. and each time you will open the file, you'll see a Security Warning prompt (usually on top of Formula Bar) you have to click the Option button and tick the "Enable this content". This would solve your problem. Hope it would help
This comment was minimized by the moderator on the site
Please try one more time
This comment was minimized by the moderator on the site
everytime i close the file.. the complete program is lost.. how can i save this for all my excel files
This comment was minimized by the moderator on the site
thanks for the excellent job, I tried it , great , its working , greetings from Sri Lanka
This comment was minimized by the moderator on the site
We thank you for this guideline it is most helpful, but how can i change the currency from Dollars to Rwandan Francs?

Thanks
This comment was minimized by the moderator on the site
search the below texts in the vba code and replace eg : search 1 >> Search for "Dollars" Replace with "Rwandan Francs"
search 2 >> Search for "Dollar" Replace with "Rwandan Franc"
This comment was minimized by the moderator on the site
I have followed the guidelines and managed to do it perfectly well for the first time. I have been designing templates and it has worked for me. Thank you so much.
This comment was minimized by the moderator on the site
i wan to change this eg:( one hundred thousand rupees only ), pls explain me how to get that word "only"
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations