ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I get Arabic numbers converted to English text format? (https://www.excelbanter.com/excel-worksheet-functions/75414-how-do-i-get-arabic-numbers-converted-english-text-format.html)

Kantoo

How do I get Arabic numbers converted to English text format?
 
I am using Office 2003. I use Excel very frequently for my office solutions.
There is a function viz 'BahtText' that converts Arabic number values to
Thai Text format.
Is there any similar function to convert the number values to English Text
format?

For eg. $ 500 shall be converted as "Dollars Five hundred".

Ron Rosenfeld

How do I get Arabic numbers converted to English text format?
 
On Sun, 5 Mar 2006 19:26:28 -0800, Kantoo
wrote:

I am using Office 2003. I use Excel very frequently for my office solutions.
There is a function viz 'BahtText' that converts Arabic number values to
Thai Text format.
Is there any similar function to convert the number values to English Text
format?

For eg. $ 500 shall be converted as "Dollars Five hundred".


You could use the NBTEXT function in the free morefunc.xll add-in written by
Laurent Longre and available at http://xcell05.free.fr

However, the common usage would be to convert $500 to Five Hundred Dollars, so
if you must have the Dollars first, you may have to add some text.

For example, with 500 in A1:

=NBTEXT(A1,2,2,"dollar!","dollars") --Five hundred dollars


To display the "Dollars" first, you'd need something like:

=IF(INT(A1)=1,"Dollar ","Dollars ")&NBTEXT(A1,2,2)

Note that neither of the above displays "cents" as you did not specify how you
want them displayed.






--ron


All times are GMT +1. The time now is 05:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com