B.S. to A.D. & A.D. to B.S. Date Converter Add-In for Microsoft Excel
Download the professional .xlam file to enable conversion functions across all your local workbooks seamlessly.
Follow these steps to permanently register the functions in Microsoft Excel:
NepaliCalendarConverter.xlam file, and click open.💡 The functions are now natively available! You can type them in any cell of any workbook like a built-in Excel feature.
The add-in introduces three smart formulas that seamlessly parse arbitrary human-written layouts.
Converts a Bikram Sambat date into a native Gregorian Excel Date. This returns a true Excel Date Serial Number, which you can format using normal Excel cell tools.
=BSTOAD("2082-04-26") → Returns an Excel date serial you can format freely
Converts an standard Western date into a formatted Bikram Sambat (BS) text string. Since Excel doesn't handle BS dates natively, these are returned as clean text.
=ADTOBS("2025-08-11", "YYYY-MM-DD") → "2082-04-26"
A unified formula configuration tool for pipelines.
=DATECONVERT("26 Shrawan 2082", "BS2AD")
The intelligent parser safely breaks down non-uniform user entries. All of the structural combinations listed below are fully parsed:
| Example Syntaxes | Status |
|---|---|
2025-08-11 | Accepted |
11-08-2025 | Accepted |
08/11/2025 | Accepted |
Aug 11, 2025 | Accepted |
August 11, 2025 | Accepted |
11 Aug 2025 | Accepted |
Aug-11-2025 | Accepted |
| Example Syntaxes | Status |
|---|---|
2082-04-26 | Accepted |
26-04-2082 | Accepted |
Shrawan 26 2082 | Accepted |
26 Shrawan 2082 | Accepted |
Shr 26 2082 | Accepted |
2082 Shrawan 26 | Accepted |
When running ADTOBS, you can define how your final string looks by passing formatting tokens into the second parameter:
| Token Token | Meaning / Extraction Output | Sample Example |
|---|---|---|
YYYY | 4-Digit Bikram Sambat Year Representation | 2082 |
MMMM | Full Text Name of Nepali Month | Shrawan |
MMM | 3-Letter Text Abbreviation of Nepali Month | Shr |
MM | 2-Digit Padded Numeric Month Index | 04 |
DD | 2-Digit Padded Numeric Day Value | 26 |
2082-04-26