SKAMMA Nepali Tools for Excel ============================= Worksheet functions for Nepali dates (BS / AD), numbers in words, Nepali digits, lakh grouping, and Nepali text (Unicode, Preeti, Roman / English letters). Every function starts with SK. — type =SK. in a cell to see them all, or find them in Insert Function (fx) under the "SK …" categories (SK Date & Calendar, SK Numbers, SK Finance, SK Converters, SK Text Tools, SK Help). Older workbooks written with the first SKAMMA. names (=SKAMMA.AD2BS …) still calculate. To switch them to the SK. names: SKAMMA tab -> Workbook Tools -> Sheets -> "Upgrade SKAMMA. formulas to SK.". Works in Excel for Windows (Excel 2010 and later, Microsoft 365). Nothing else to install. INSTALL ------- 1. IMPORTANT — UNBLOCK FIRST. Windows marks every downloaded file, and Excel refuses to run a marked add-in. Easiest: BEFORE unzipping, right-click the downloaded .zip -> Properties -> tick "Unblock" (bottom of the General tab) -> OK. Everything you unzip from it is then unblocked too. Already unzipped? Do the same on the .xll file you will use. No "Unblock" box? Then the file is not blocked and you can carry on. Or, in PowerShell: Get-ChildItem "$env:USERPROFILE\Documents\SKAMMA" | Unblock-File 2. Unzip into a folder you'll keep, for example Documents\SKAMMA. (Excel loads the add-in from there each time.) 3. Which file? 64-bit Excel (most PCs): SKAMMA-NepaliTools64.xll 32-bit Excel: SKAMMA-NepaliTools32.xll (Excel -> File -> Account -> About Excel says "64-bit" or "32-bit".) 4. In Excel: File -> Options -> Add-ins -> at the bottom "Manage: Excel Add-ins" -> Go -> Browse... -> choose the .xll -> OK. Make sure it is ticked in the list. 5. In any cell type =SK.BSTODAY() To try it once without installing, just double-click the .xll (it then lasts until Excel closes). WHAT THE ADD-IN SENDS OVER THE INTERNET (since 2.2.0) ----------------------------------------------------- Online check — once a day, when Excel is open and the PC is online, the add-in asks suraz.com.np whether a newer version is available (an "Update to …" button then appears on the SKAMMA tab). With that request it sends: - a random installation number (made on your PC; it says nothing about you), - the add-in version, the Excel version and whether Excel is 32- or 64-bit, - how many times each SK function and each SKAMMA button was used, for example "SK.ADTOBS: 120". It NEVER sends what is in your cells, your formulas, file or sheet names, your name or your computer's name. The first time, Excel shows a short notice saying this, and nothing is sent before that notice has been shown. To switch it off: SKAMMA tab -> Help -> untick "Online check". Nothing is counted or sent while it is off. Why: so the developer can see which tools are really used and improve those first. Translation — only when you use =SK.TRANSLATE or the ribbon's Translate: the text to translate is sent to the free MyMemory service (see "Translation" below). Nothing else in the add-in uses the internet. To remove: File -> Options -> Add-ins -> Go -> untick "SKAMMA Nepali Tools". IF IT DOESN'T LOAD - "Microsoft has blocked…", nothing happens, or formulas show #NAME? The file is still blocked: close Excel, unblock the .xll as in step 1, open Excel again. - "The file format and extension don't match" or strange characters: you picked the wrong bitness; use the other .xll (64 / 32). - Still blocked on an office PC: your IT may block add-ins from the internet. Put the folder in a Trusted Location (File -> Options -> Trust Center -> Trust Center Settings -> Trusted Locations -> Add new location). TOOLTIPS -------- Type =SK. and Excel lists every function. After the opening bracket, e.g. =SK.ADTOBS( , a tooltip shows the arguments and what each one takes, like Excel's own functions. (Ctrl+Shift+A writes the argument names into the cell.) Insert Function (fx) -> the "SK …" categories have the full help for every argument. DATES ----- Date functions take the same arguments, in the same order: date an Excel date, or text. AD: 2026-11-15, 15/11/2026, 15 Nov 2026. BS: 2083-07-29, 29/07/2083, 29 Kartik 2083, २०८३ कात्तिक २९ गते. Month names (English or Nepali, common spellings) are understood. [inputFormat] how the date is written when it is only numbers: "dd/MM/yyyy", "MM/dd/yyyy", "yyyy-MM-dd" (or DMY / MDY / YMD). Empty: year first if it has 4 digits, otherwise day first. [outputFormat] how the answer is written: "yyyy-MM-dd" (default), "dd/MM/yyyy", "d MMMM yyyy", "dddd, d MMMM yyyy" [language] "english" (default) or "nepali" / "unicode" for Nepali digits and names. TRUE also means nepali. Format codes: yyyy 2083 yy 83 MMMM Kartik MMM Kar MM 07 M 7 dd 09 d 9 dddd Sunday ddd Sun (सोम in Nepali) 'text in quotes' stays as written. =SK.ADTOBS(A2) 2083-07-29 =SK.ADTOBS(A2, , "d MMMM yyyy, dddd", "nepali") २९ कात्तिक २०८३, आइतबार =SK.ADTOBS("11/15/2026", "MM/dd/yyyy", "dd/MM/yyyy") 29/07/2083 =SK.BSTOAD("29 Kartik 2083") an Excel date (format the cell as a date) =SK.BSTOAD("29/07/2083", "dd/MM/yyyy", "dddd, d MMMM yyyy") Sunday, 15 November 2026 =SK.CONVERTDATE(date, from, to, [inputFormat], [outputFormat], [language]) one function for all of them: =SK.CONVERTDATE(A2, "AD", "BS", , "yyyy/MM/dd") 2083/07/29 =SK.CONVERTDATE("29 Kartik 2083", "BS", "AD", , "dd/MM/yyyy") 15/11/2026 =SK.CONVERTDATE("2083-07-29", "BS", "BS", , "d MMMM yyyy", "nepali") २९ कात्तिक २०८३ =SK.BSFORMAT("2083-07-29", "dd/MM/yyyy") 29/07/2083 (outputFormat, [language], [inputFormat]) =SK.ADFORMAT(A2, "d MMMM yyyy", "nepali") १५ नोभेम्बर २०२६ =SK.BSTODAY("d MMMM yyyy") today in BS =SK.BSDATE(2083, 7, 29) like DATE(), for BS -> an Excel date =SK.BSPART(A2, "monthname", "nepali") कात्तिक (year, month, day, monthname, weekday) =SK.BSYEAR(A2) =SK.BSMONTH(A2) =SK.BSDAY(A2) =SK.BSMONTHNAME(7, "nepali") कात्तिक =SK.WEEKDAY(A2, "nepali") आइतबार ([from] "BS" when the date is BS text) =SK.BSDAYSINMONTH(2083, 7) 30 =SK.BSADDMONTHS("2083-01-31", 1) 2083-02-31 =SK.FISCALYEAR(A2) 2083/84 (from 1 Shrawan) =SK.BSAGE(B2) 12 years 3 months 5 days =SK.BSAGE(B2, , "y") 12 (part "y" / "m" / "d"; [from] "BS" for BS text) DATE MATHS ---------- In BS functions, text is read as a BS date and a real Excel date counts as AD (converted). =SK.BSADDDAYS("2083-07-29", 10) 2083-08-09 =SK.BSADDYEARS("2083-07-29", 1) 2084-07-29 =SK.BSDATEDIF("2071-04-24", "2083-07-29", "y") 12 (like DATEDIF in BS: y m d w ym md) =SK.BSDAYS("2083-01-01", "2083-07-29") 215 days between =SK.BSMONTHSTART(A2) =SK.BSMONTHEND(A2) first / last day of the BS month =SK.FYSTART(A2) =SK.FYEND(A2) 2083-04-01 / 2084-03-31 (1 Shrawan … end of Asar) =SK.FYQUARTER(A2) 1–4 (Shrawan–Asoj = 1) =SK.BSISVALID("2083-07-32") FALSE =SK.AGE(B2) 16 years 7 months 1 day (English calendar; BSAGE for BS) =SK.NETWORKDAYS(start, end) working days, Saturday off (Nepal) =SK.NETWORKDAYS(start, end, "satsun", H2:H20) Saturday and Sunday off, minus holidays in H2:H20 =SK.WORKDAY(A2, 10) the date 10 working days later (an Excel date) UNITS ----- =SK.CONVERT(1, "ropani", "sqft") 5476 =SK.CONVERT(1, "bigha", "kattha") 20 =SK.CONVERT(10, "tola", "g") 116.64 =SK.CONVERT(1, "muri", "pathi") 20 =SK.CONVERT(100, "c", "f") 212 =SK.LANDAREA(1000) 1-15-1-3.21 (sq m -> ropani-aana-paisa-daam) =SK.LANDAREA(5000, "bigha") 0-14-15.31 (bigha-kattha-dhur) =SK.LANDAREA(5476, "ropani", "sqft") 1-0-0-0 =SK.LANDTOSQM("2-3-1-2") 1124.79 sq m (add "bigha", and "sqft" for sq ft) Units: land ropani aana paisa daam bigha kattha dhur, sqm sqft sqyd acre ha km2 · weight tola lal dharni ser pau kg g mg t quintal lb oz · grain mana pathi muri, volume l ml m3 cuft gal ukgal · length haat m km cm mm in ft yd mi · temperature c f k · time s min h day week month year · data b kb mb gb tb · speed km/h m/s mph knot · pressure pa kpa bar atm psi mmhg · energy j kj cal kcal wh kwh (unit) btu · power w kw mw hp. Traditional weights and grain measures are the usual approximations (1 dharni ≈ 2.39 kg, 1 pathi ≈ 4.55 l). MONEY AND GRADES ---------------- =SK.VAT(1000) 130 (13% by default) =SK.VAT(1000, , "add") / (1130, , "remove") / (1130, , "included") 1130 / 1000 / 130 =SK.EMI(1000000, 11, 60) 21742.42 monthly instalment =SK.GRADE(85) A (NEB: 90 A+ · 80 A · 70 B+ · 60 B · 50 C+ · 40 C · 35 D · NG) =SK.GRADE(42, 50, "both") A (3.6) ("point" for 3.6) =SK.GPA(B2:B8) average grade point of the marks NUMBERS ------- =SK.NUMBERTOWORDS(120000) One Lakh Twenty Thousand =SK.NUMBERTOWORDS(120000, "nepali") एक लाख बीस हजार =SK.NUMBERTOWORDS(1234567, , "international") One Million Two Hundred Thirty Four Thousand Five Hundred Sixty Seven =SK.AMOUNTWORDS(1250.5) One Thousand Two Hundred Fifty Rupees and Fifty Paisa Only =SK.AMOUNTWORDS(1250.5, "nepali") एक हजार दुई सय पचास रुपैयाँ पचास पैसा मात्र =SK.LAKH(1234567) 12,34,567.00 (=SK.LAKH(1234567, 0, "nepali") १२,३४,५६७) =SK.COMMAS(1234567, "international") 1,234,567.00 NUMWORDS, AMOUNTWORDS and LAKH take a last, optional system: "nepali" (default; lakh / crore, 12,34,567) or "international" (million / billion, 1,234,567). Nepali words always use lakh / crore. =SK.NEPALIDIGITS(2083) २०८३ =SK.ENGLISHDIGITS("२०८३") 2083 =SK.TONUMBER("१२,३४५.५०") 12345.5 (a real number) TEXT ---- =SK.CONVERTTEXT(text, from, to) one function for all: "unicode", "preeti", "roman", "english" =SK.CONVERTTEXT(A2, "preeti", "english") g]kfn -> Nepal =SK.CONVERTTEXT(A2, "unicode", "preeti") नेपाल -> g]kfn =SK.PREETITOUNICODE("g]kfn") नेपाल =SK.UNICODETOPREETI("नेपाल") g]kfn (show it with the Preeti font) =SK.ROMANTOUNICODE("namaste") नमस्ते (t d n = त द न, T D N = ट ड ण, aa = ा, {English} stays) =SK.UNICODETOENGLISH("राम बहादुर") Ram Bahadur (everyday English spelling) =SK.UNICODETOROMAN("नेपाल") nepaal (the exact scheme ROMAN2UNICODE reads back) =SK.ABOUT() version and developer =SK.DEVELOPER() Suroj Karmacharya — .NET Developer — surojbct066@gmail.com — https://suraz.com.np =SK.DEVELOPER("email") just one part: "name", "role", "email" or "website" THE SKAMMA TAB (ribbon) ----------------------- Tools that work on the cells you select. Select a block of cells (or one cell inside a table: the whole table is used). Date & Calendar Convert Dates (adds an AD -> BS or BS -> AD column) · Fix Dates (check the layouts used in each column; turn AD or BS date text into real dates) · Holiday List (a sheet of the year's holidays to add festivals to; named Holidays2083 for SK.NETWORKDAYS) · Today (BS) Numbers Digits (to Nepali / English digits) · Text to Numbers (1,25,000 · Rs. 1,250/- · १२,५०० · (500)) · In Words (adds a column with the amounts in English or Nepali words) · Number Format (lakh 12,34,567.00 · international 1,234,567.00 · Rs. 12,34,567.00) Finance Loan Schedule · Depreciation (SL / WDV / DDB) · Tax Calculator (a salary and tax sheet with live SK. formulas) — each on a new sheet Converters Nepali Text: Preeti -> Unicode, Unicode -> Preeti, Roman -> Unicode, Unicode -> English letters · Translate (English -> Nepali, Nepali -> English, other languages) into a new column Text Tools Clean (trim spaces, remove non-printable characters, normalise, Nepali cleanup) · Change Case (UPPER, lower, Title, Sentence) · Tidy Phones (98XXXXXXXX, 01-4XXXXXX) Data Tools Remove Duplicates (asks about headings) · Highlight Duplicates (a colour rule; nothing changes) · Blanks (remove blank rows / columns, fill from above, fill with a value) · Unique Values · Compare Lists (only in A, only in B, in both — on a new sheet) Formatting Auto-fit · Table Style · Format (borders, alternate row shading, highlight cells by a rule such as >1000 or "contains rent", formulas to values, remove formatting, tidy every sheet) · Print Setup (print area, heading row on every page, one page wide, page numbers, orientation) Workbook Tools Analyse (workbook analysis, sheet index with links, hidden sheets / rows / columns, broken formulas, links to other workbooks) · Compare (two sheets cell by cell, two workbooks) · Combine (merge sheets into one, combine workbooks, split a table into sheets by a column) · Export (selected sheets to PDF, sheets to separate files) · Sheets (rename in bulk, random test data) Help Guide · About Your data is safe: - Before changing cells, the tool says how many will change and asks. Excel's Undo can't reverse an add-in's changes, so it offers to copy the sheet first ("Yes" = copy, then change). - Formulas, error values and dynamic-array results are never rewritten; only the cells that change are written. - New results (lists, comparisons, reports) go to a new sheet; new columns are inserted, never written over. - Exports never overwrite a file (a (2) is added), and workbooks you combine or compare are opened read-only and closed without saving. - Protected sheets are left alone. Each button is also a macro (the macros keep the SKAMMA. names): Application.Run "SKAMMA.TrimSpaces" (and SKAMMA.TextToNumbers, SKAMMA.RemoveDuplicateRows …). MORE SK. FUNCTIONS ------------------ Grouped like the ribbon in Insert Function (fx): "SK Date & Calendar", "SK Numbers", "SK Finance", "SK Converters", "SK Text Tools". Dates =SK.ADTOBS(A2) =SK.BSTOAD(A2) =SK.AGE(A2) =SK.BSAGE(A2) =SK.FISCALYEAR(A2) =SK.BSYEAR / SK.BSMONTH / SK.BSMONTHNAME =SK.DATEDIFF(A2, B2, ["d"|"w"|"m"|"y"|"ym"|"md"|"yd"]) days (default) ... between two dates; negative when B is earlier =SK.DATEADD(A2, 1, "m", "BS") add days / weeks / months / quarters / years, in AD or BS months =SK.MONTHSTART(A2, "BS") =SK.MONTHEND(A2) first / last day of the AD or BS month (Excel dates) =SK.QUARTER(A2, "fiscal") 1-4: "calendar" (default), "fiscal" (from Shrawan) or "bs" =SK.DATESEQ(A2, 12, 1, "m", "BS") a column of dates (spills in Excel 365) =SK.TODATE("30/07/2083", "BS") date text in any layout -> a real Excel date =SK.DATELAYOUT(A2) YMD / DMY / MDY / "DMY or MDY" / named month - find mixed layouts =SK.NETWORKDAYS(A2, B2, , H2:H20, TRUE) working days; Saturday off; your holidays; TRUE adds Nepal's fixed-date holidays =SK.WORKDAY(A2, 10, , , TRUE) the date 10 working days later =SK.HOLIDAY(A2) =SK.HOLIDAYS(2083) Nepal's fixed-date public holidays (New Year, Republic Day, Constitution Day, Prithvi Jayanti, Maghe Sankranti, Martyrs' Day, Democracy Day, Labour Day, Christmas). Dashain, Tihar and other moon festivals change each year: add them from the government list as your own holiday range. Numbers =SK.NUMBERTOWORDS(A2, , "international") =SK.CURRENCYTOWORDS(A2, "USD") =SK.CHEQUEWORDS(A2) =SK.NEPALIDIGITS(A2) =SK.ENGLISHDIGITS(A2) =SK.COMMAS(A2, "international") =SK.TONUMBER("Rs. 1,25,000/-") 125000 (also १२,५००, (500), 500-, 12.5%) =SK.PERCENT(25, 200) 12.5 =SK.PERCENTOF(12.5, 200) 25 =SK.PERCENTCHANGE(80, 100) 25 Finance (rounded to paisa; tax and TDS rates follow FY 2082/83 - pass your own when they change) =SK.VAT(A2, 13) =SK.VAT(A2, 13, "remove") =SK.DISCOUNT(A2, 10) =SK.PROFIT(cost, price, "percent") =SK.MARGIN(cost, price) =SK.MARKUP(cost, price) =SK.SELLINGPRICE(cost, 20, "margin") =SK.SIMPLEINTEREST(p, rate, years) =SK.COMPOUNDINTEREST(p, rate, years, 12) =SK.EMI(p, rate, months) =SK.LOAN(p, rate, months, "interest") =SK.LOANSCHEDULE(p, rate, months) (a full table) =SK.DEPRECIATION(cost, salvage, life, year, "WDV", 25) SL, WDV or DDB; "book" for the value left =SK.INCOMETAX(income, "couple") Nepal's slabs, or your own two-column slab range; TRUE for SSF =SK.TDS(A2, "rent") rent 10, service 15, service-vat 1.5, contract 1.5, consultancy 15, commission 15, meeting 15, interest 6, dividend 5, prize 25 - or a rate such as 1.5 =SK.SALARY(gross, "net", "single", TRUE) monthly net / tax / ssf estimate Text =SK.TITLECASE =SK.SENTENCECASE =SK.CLEANSPACES =SK.CLEANTEXT =SK.NORMALIZE =SK.NEPALICLEAN =SK.REMOVEDUPLICATES(A2, ", ") =SK.WORDCOUNT =SK.SENTENCECOUNT =SK.CHARCOUNT (Nepali letters count once) =SK.EXTRACTNUMBERS(A2, 1) =SK.EXTRACTEMAILS(A2) =SK.EXTRACTPHONES(A2) =SK.PHONE(A2, "international") =SK.SPLIT(A2, ",", 2) =SK.JOIN(A2:A20, "; ") =SK.REPLACEMANY(A2, F2:G20) (many find/replace pairs) =SK.REGEXREPLACE / SK.REGEXMATCH / SK.REGEXEXTRACT =SK.CONVERTTEXT(A2, "preeti", "unicode") Translation (free, online) =SK.TRANSLATE(A2, "nepali") =SK.TRANSLATE(A2, "english", "nepali") =SK.TRANSLATE(A2, "hindi") Uses the free MyMemory service (mymemory.translated.net): the text is sent there over the internet, about 5,000 characters a day are free, and answers are machine / crowd translations — check them before use. Shows #N/A while waiting, and #N/A if the service can't answer (no internet, the day's allowance used up). For many cells, the ribbon's Translate writes the results once into a new column instead of keeping formulas. Converters =SK.CONVERT(100, "km/h", "m/s") =SK.UNITS("speed") lists the unit names =SK.LANDCONVERT(A2, "ROPANI", "AANA") =SK.LANDCONVERT("2-3-1-2", "ropani", "sqft") =SK.LANDCONVERT(20, "kattha", "BKD") Anything that can't be read gives #VALUE!. BS dates: 1901–2199 BS, the same calendar as VidhyaHub. DEVELOPER --------- Suroj Karmacharya — .NET Developer Email: surojbct066@gmail.com Website: https://suraz.com.np SKAMMA Nepali Tools — https://vidhyahub.com/tools