Skip to main content

Posts

Rupees into words

Option Explicit Function RupeesInWords(ByVal MyNumber As Double) As String Dim Rupees As String Dim Paise As String Dim Temp As String Dim DecimalPlace As Integer MyNumber = Round(MyNumber, 2) DecimalPlace = InStr(MyNumber, ".") If DecimalPlace > 0 Then Rupees = Left(MyNumber, DecimalPlace - 1) Paise = Mid(MyNumber, DecimalPlace + 1) Else Rupees = MyNumber Paise = "" End If RupeesInWords = "" If Val(Rupees) > 0 Then RupeesInWords = ConvertToWords(Rupees) & " Rupees" End If If Val(Paise) > 0 Then RupeesInWords = RupeesInWords & " and " & ConvertTwoDigits(Left(Paise & "00", 2)) & " Paise" End If RupeesInWords = Application.WorksheetFunction.Trim(RupeesInWords) & " Only" End Function Private Function ConvertToWords(ByVa...

Get multiple lookup values in single cell

create Pivot table from multiple data ranges/tables

vlookup with vstack

Randbetween3

Randbetween2

Randbetween1

arraytotext

XLOOKUP multiple tables with vstack

Sequence

Geography

VSTACK office 365 function

Sortby office 365 function

Chooserows office 365 function

Choosecols office 365 function

Unique office 365 function

WRAPCOLS office 365 function

Wraprows office 365 function

Filter function office 365