
📎 This article includes 1 downloadable practice file ↓
In this article
Thirty functions are only useful if your team can get them. Here’s how to package them.
1. One library workbook
Create AJ-Functions.xlsx with all names defined and a Help sheet listing each function, its arguments and an example. Keep it on OneDrive or SharePoint.
2. Copy functions into another workbook
- Easiest: copy any sheet that uses the functions into the target workbook (right-click tab > Move or Copy > tick Create a copy). The names come along. Delete the sheet afterwards; the names stay.
- Advanced Formula Environment (free Microsoft add-in from Excel Labs): edit all your LAMBDAs as text in one editor, with comments, and import a whole library from a GitHub gist URL.
3. Make a template
Save a blank workbook with the library as Book.xltx in the XLSTART folder and every new workbook starts with your functions.
4. Version it
Add a LIBVERSION =LAMBDA("2026.10") name. When something looks wrong in a colleague’s file, =LIBVERSION() tells you which version they have.
AJ.GSTINCL, AJ.FYLABEL) so they’re easy to find in autocomplete and never clash with future built-in functions.What you’ve built
Money (GSTINCL, GSTEXCL, LAKHS, CRORE), text (CLEANNAME, DIGITSONLY, MASK), dates (FYLABEL, FYQTR, DAYSLEFT), list tools (MULTIREPLACE, running balances) and safe helpers (SAFEDIV). Put them to work on real data in the Bank Statement Automation course.
Practice
Download the workbook below. Each task combines functions from earlier lessons. The tasks call each function inline, like =LAMBDA(x,x*2)(A2), so the file works on any Microsoft 365 PC; in your own files, save them by name in Name Manager. The Check column turns green when you’re right.
📎 Practice files for this article
- 📗Lesson 8 practice workbookCombine your functions: 5 tasks.⬇ XLSX · 14 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Stuck on a step? Ask a question and the AI answers using this article.