HEADLINES:-

Showing posts with label How to. Show all posts
Showing posts with label How to. Show all posts

Microsoft Excel Function to Convert Rupees in Figure into Rupees in Word

Excel program allows you to make any calculation easily. Once you make any formulla then you don't have to recalculate for the same problem. Such critical formulas like online transaction data and Date of birth calculation such are very useful which you can easily make in excel. Using excel spread sheet formula realtime calculation can easily be achieved.

You can also use formula in excel to convert any number into it's equivalent word. You can similarly convert any rupees in figure into rupees in word. As an example Rs-1000/- will converted in "One thousand".

How to create a function that convert rupees in number into rupees in word ?

(1) First start microsoft excel
(2) Then press Alt+F11. You will get a visual editor.
(3) Visit insert menu and click on "Module"
(4) Now enter following code in module section.


The following function will allow you to convert rupees in number into rupees in word

Function SpellNumber(amt As Variant) As Variant
Dim FIGURE As Variant
Dim LENFIG As Integer
Dim i As Integer
Dim WORDs(19) As String
Dim tens(9) As String
WORDs(1) = "One"
WORDs(2) = "Two"
WORDs(3) = "Three"
WORDs(4) = "Four"
WORDs(5) = "Five"
WORDs(6) = "Six"
WORDs(7) = "Seven"
WORDs(8) = "Eight"
WORDs(9) = "Nine"
WORDs(10) = "Ten"
WORDs(11) = "Eleven"
WORDs(12) = "Twelve"
WORDs(13) = "Thirteen"
WORDs(14) = "Fourteen"
WORDs(15) = "Fifteen"
WORDs(16) = "Sixteen"
WORDs(17) = "Seventeen"
WORDs(18) = "Eighteen"
WORDs(19) = "Nineteen"
tens(2) = "Twenty"
tens(3) = "Thirty"
tens(4) = "Fourty"
tens(5) = "Fifty"
tens(6) = "Sixty"
tens(7) = "Seventy"
tens(8) = "Eighty"
tens(9) = "Ninety"
FIGURE = amt
FIGURE = Format(FIGURE, "FIXED")
FIGLEN = Len(FIGURE)
If FIGLEN < 12 Then
FIGURE = Space(12 - FIGLEN) & FIGURE
End If
If Val(Left(FIGURE, 9)) > 1 Then
SpellNumber = "Rupees "
ElseIf Val(Left(FIGURE, 9)) = 1 Then
SpellNumber = "Rupee "
End If
For i = 1 To 3
If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2)))
ElseIf Val(Left(FIGURE, 2)) > 19 Then
SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1)))
SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1)))
End If
If i = 1 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & " Crore "
ElseIf i = 2 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & " Lakh "
ElseIf i = 3 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & " Thousand "
End If
FIGURE = Mid(FIGURE, 3)
Next i
If Val(Left(FIGURE, 1)) > 0 Then
SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 1))) + " Hundred "
End If
FIGURE = Mid(FIGURE, 2)
If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2)))
ElseIf Val(Left(FIGURE, 2)) > 19 Then
SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1)))
SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1)))
End If
FIGURE = Mid(FIGURE, 4)
If Val(FIGURE) > 0 Then
SpellNumber = SpellNumber & " Paise "
If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then
SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2)))
ElseIf Val(Left(FIGURE, 2)) > 19 Then
SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1)))
SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1)))
End If
End If
FIGURE = amt
FIGURE = Format(FIGURE, "FIXED")
If Val(FIGURE) > 0 Then
SpellNumber = SpellNumber & " Only "
End If
End Function


(5) Now click on any excel cell and write =SpellNumber(5555) and hit enter.

N.B: Here SpellNumber is the function which you have defines in module. Here I have used 5555 as Number in Figure and which will be converted into Word as Rupees Five Thousand Five Hundred Fifty Five Only.

How to track and trace domestic and international articles of India post

India post has made a great tracking tool to track consignment online. All you need your tracking number which was provided to you during your booking.

Items that can be tracked using India Post Consignment Tracking tools are given below.

(1) Speed post (Domestic EMS)
(2) International EMS
(3) Electronic Money Order (eMO)
(4) Registered Mail
(5) Express Parcel
(6) Electronic Value Payable Parcel (eVPP)

How to track your National/International Consignment:

(1) Visit http://indiapost.gov.in/Tracking.aspx
(2) Enter your consignment number
(3) Enter verification code in the text box and then click on "GO" button.

Sample Tracking Number Formats:

Category                                               Format                          No. of digits

Speed Post (EMS) Domestic           EE987654321IN                          13

International EMS Artilces to              EE987654321XX                         13
be delivered in India

Electronic Money Order (eMO)           000000000000000000         18

Registered Mail                                   RX123456789IN                 13

Express Parcel Post                          XX000000000XX                 13