Ive created two workbooks that you can use. The first is for use with currency. The second is for general use and will convert the number to a string of words. You can then join that string with whatever you want.
This is a problem if you are working with things like credit card numbers which are typically 16 digits long. You'll need to use a nifty formula explained in this custom cell format post to solve this particular problem.
This limitation is also an issue if you are working with numbers in the 10's or 100's of trillions. Let's say you want to work out the world's gross domestic product (GDP) for the last 10 years, which will be into the 100's of trillions.
One subunit is called a penny, more than one would be referred to as pence. So 10.01 would be Ten Pounds and One Penny but 10.02 would be Ten Pounds and Two Pence. This works in a similar way for 2 cents or just 1 cent.
Hi Sarfaraz,
You have to dive into the code and replace the unit/subunit names, you have instructions in the article. We do not know how to translate all necessary parameters.
Please review the instructions. Use our forum to upload your translations, we will help you implement them.
Hey, thanks a lot for the fractions formula. But could you help me to edit the Fractions formula so a number like 10,01 EUR is showed as 1/100, not 01/100? I just cannot figure out how to edit the code.
Hi Joy,
What do you mean? Forge them? (just kidding)
Please use our forum to upload your currency details, I do not know those details.
Have you tried to follow the instructions provided in this article, to change the currency?
The word conversion is sometimes resulting in a false number. This is only happening in the cents section and only on a particular worksheet, and it happened 4 out of 12 times per worksheet. For example, $366.13 is resulting in Three Hundred Sixty-Six Dollars and Twelve Cents. Can you please assist? Thanks.
I have a Purchase Order Worksheet in which I have to deal with Multiple currencies. I do have a drop down list of Currencies & Spell Number Addin for conversion from number to words but it does not have the currency name and subunit name only whole numbers
I need a macro so that if i select a currency Type from my drop down list then it should convert to text with the corresponding currency name and subunit name in words.
Hi Daniel,
You can take a look at this version, from our forum. It has an adapted code that can handle different main unit names.
If you cannot adapt the code to your situation, please sign-up to our forum and create a new topic, with your sample file and expected results.
Catalin
Hi Rafael,
Can you please create a new topic on our forum with this problem? You can upload there your sample file with the code and a few examples of how the result should be displayed. It will be a lot easier to understand each other.
Catalin
End If
I replaced GetTens with GetHundreds for subunits.
At the beginning of the code, there is a place where you can type your currency unit name and subunits name, as described in the article.
Catalin
Hi Staback,
Have you tried this version: convert-numbers-currency-to-words-with-excel-vba#comment-36979?
Seems to be very close to what you need, with small changes, it may work as you want.
I prefer not to allow my users to touch the codes to adjust the currency as most are not familiar with VBA. My suggested workaround for them is to use the SUBSTITUTE function to replace the default currency shown. In my case replace RINGGIT with USD and SEN with CENTS and so on.
Can you help giving us the way on how to round up or down the cents. Example: my cell is set to rounding 124.76 will show 125 but the code is giving (One Hundred Twenty Four US Dollars and Seventy Six Cents.
I thought i would help my husband with his excel sheet. He needs the difference from the time someone walks in to the time they leave. So i changed the format of his times from 08h00 and 08h45 to 08:00 and 08:45. I then added the formula eg: =G2-B2 and i got 00:45. i thought this was awesome as i was so easy. He now says he wants it to read 45 minutes. I am stumped, how do i do that?
Hi Gerardine,
Have you tried the file at the end of the post? NumToWords.w.Fractions.xlsm
You will only have to add USD in front of the result string, which should be easy, let me hnow if you managed to make the change.
Cheers,
Catalin
Hello. Wonder if you can help. I get your newsletter delivered to my business e-mail. Whenever I try to print it (even when size reduction is selected) it will not fit on a standard printed 811 page (left and right columns severely cut off). Any suggestions?
Mynda
As a variation of this, how would you take a long number such as $1,256,954.84 and convert to words $1.26 Million. Also the same function for Thousands etc. Rather than have it convert the whole number, round it in the text only?
Grinne
Looks good. I will usually make parameters that might change but are almost always the same into optional arguments with default values. So in your case instead of having the embedded UnitName, SubUnitName, etc, I would declare the function like so:
Then this also opens you up to more options: maybe code it so that if SubUnitSingularName is blank, then it will use SubUnitName for both, or if DecimalSeparator is blank, then it will use Application.International(xlDecimalSeparator) instead, and so on.
Hi, I'm Mynda Treacy and I run MOTH with my husband, Phil. Through our blog, webinars, YouTube channel and courses we hope we can help you learn Excel, Power Pivot and DAX, Power Query, Power BI, and Excel Dashboards.
In my previous article, I had explained how to convert a number to words in Excel using VBA. I had written a number of code lines to achieve this. But I had never imagined that we can convert numbers to words by just using excel formulas. But one of our Excelforum users did it. I had never imagined that we could convert numbers into words.
This user with Id HaroonSid wrote a crazy formula. The formula is a page long and if I will mention it here now, it will cover the whole post. So, I have mentioned it at the end of the post. You can download the excel file below to check the formula.
The formula is too long to explain but I can explain the logic. This formula determines how long the number is. Then it uses the CHOOSE function to substitute numbers with the words. But this is not that easy. This formula Identifies once, tens, hundreds, thousands, millions and billions. It identifies which number comes in which section. Another complexity is this. The number 12 can be one or two in large numbers or Twelve. This adds up to a lot of complexity. But this man was able to solve this complexity and make this formula work efficiently.
So now I am mentioning the formula. This formula applies to B2. Any number written in B2 will be converted into words. This formula converts numbers into american currency dollars, but you can adjust it to convert into any currency or unit by just finding and replacing "Dollars" and "Cents". For example, if you want to convert numbers to Indian Rupee and Paise just find and replace.
So yeah, this is the formula. How do you like it? I hope it is useful to you. If you don't want to use this, use the VBA method to convert numbers to words. If you have any doubts regarding this article or if you have any other Excel related questions, ask that too in the comments section below.
How to Convert Number to Words in Excel in Rupees : We can create a custom Excel formula to convert numbers to words in Indian rupees. I have created this custom function to convert numbers to words in terms of Indian rupees. You can download the macro file
13 Methods of How to Speed Up Excel Excel is fast enough to calculate 6.6 million formulas in 1 second in Ideal conditions with normal configuration PC. But sometimes we observe excel files doing calculation slower than snails. There are many reasons behind this slower performance. If we can Identify them, we can make our formulas calculate faster.
Center Excel Sheet Horizontally and Vertically on Excel Page : Microsoft Excel allows you to align worksheet on a page, you can change margins, specify custom margins, or center the worksheet horizontally or vertically on the page. Page margins are the blank spaces between the worksheet data and the edges of the printed page
Split a Cell Diagonally in Microsoft Excel 2016 : To split cells diagonally we use the cell formatting and insert a diagonally dividing line into the cell. This separates the cells diagonally visually.
How to disable Scroll Lock in Excel : Arrow keys in excel move your cell up, down, Left & Right. But this feature is only applicable when Scroll Lock in Excel is disabled. Scroll Lock in Excel is used to scroll up, down, left & right your worksheet not the cell. So this article will help you how to check scroll lock status and how to disable it?
What to do If Excel Break Links Not Working : When we work with several excel files and use formula to get the work done, we intentionally or unintentionally create links between different files. Normal formula links can be easily broken by using break links option.
How to use the Excel COUNTIF Function Count values with conditions using this amazing function. You don't need to filter your data to count specific value. Countif function is essential to prepare your dashboard.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
3a8082e126