numbers in words indian number system

G

gssreenivas

Hi

I am a new member and have joined the forum on the new year day. In th
first place I wish all the group memeber a very happy new year.

Can any one provide a vba code to convert numbers into words in india
number system.

i would give an example for this

Rs 10,00,000 this is read as ten lakhs.

the logic in indian numbering system is that the position of comma i
first after three numbers from units place and for the next position i
is after two numbers. Unlike in English system the position of comma i
always after three numbers.

hope i shall be addressed

thanks
gssreeniva
 
B

Bob Phillips

Happy New Year to you a;so (sorry, I couldn't work out your name from your
signature).

What you ask is best handled as a custom display format. Niek Otten posted
this solution a while back

Format>Cells>Number>Custom In the Type box, enter:

###\,##\,###

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
D

David McRitchie

The following addresses the placement of the comma not numbers
into words:

If you have Excel 2002 or later look up bhattext in help.
Otherwise the following format might help you

[>=10000000]##\,##\,##\,##0.00;[>=100000]##\,##\,##0.00;##,##0.00

(This format separates groups for India/Thailand, format valid for
positive numbers up to 99,99,99,999.99 or 999,999,999.99)
in Excel XP see function BhatText as in Thai Bhat currency.
=BAHTTEXT(A37) [Rupees, Rs., Paise, lakhs, crores] ==
an alternative may be to use Control Panel, Regional Settings, Numbers, digit grouping.

The above can be found on my formula.htm page, the hidden
links in the above text from that page include
http://office.microsoft.com/assistance/offhelp/offxp/excel/xlmain10/html/Bahttext.htm
http://google.com/groups?selm=OwOZ4VaBBHA.1812@tkmsftngp02
http://google.com/[email protected]

I don't recall seeing any postings for numbers to words for Indian currency
but you should search the newsgroup archives.

Excel Newsgroups & Searching Newsgroups
Search Newsgroups using Google "Usenet Advanced Search",
look at the MS Knowledge Database, other tips.
http://www.mvps.org/dmcritchie/excel/xlnews.htm


FWIW (For What It's Worth), I only found one of my postings for
Google Search: lakhs numbers words group:*Excel*
also did the same search in the MS Knowledge Base

but you could modify some code that you can find in links at
Strings and Manipulations
http://www.mvps.org/dmcritchie/excel/strings.htm
under the topic:
Numbers to words (as in check protection wording)

If you program what you want based on the above then you might
post your completed macro to this thread so that others benefit
from your coding.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top