View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default 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