Experimenting with skills for Copilot For Excel Microsoft has developed a new skill for Copilot for Excel that automates the creation of structured LAMBDA functions following 5th Generation Modeling standards. The skill guides users through an eight-step workflow to convert formulas into documented, reusable LAMBDA functions with inline help, parameter handling, and automatic testing. This integration brings professional-grade function development practices directly into Excel's AI assistant. | 5G LAMBDA Template Skill | | | Version: 1.4 | | | Last Updated: May-20-2026 | | | skill: | | | name: lambda-template-5g | | | description: | | | Rules and conventions for creating well-structured Excel LAMBDA functions | | | with inline help documentation using the Advanced Formula Environment AFE . | | | Follows 5th Generation Modeling standards from 5gmodelling.com. | | | category: Excel | | | tags: | | | - LAMBDA | | | - AFE | | | - Excel Labs | | | - Named Functions | | | - Documentation | | | - 5G Modeling | | | ═══════════════════════════════════════════════════════════════════════════ | | | TRIGGER PHRASES | | | ═══════════════════════════════════════════════════════════════════════════ | | | triggers: | | | - "Make 5g" | | | - "Make LAMBDA" | | | - "Convert to 5g" | | | - "Convert to LAMBDA" | | | ═══════════════════════════════════════════════════════════════════════════ | | | WORKFLOW | | | ═══════════════════════════════════════════════════════════════════════════ | | | workflow: | | | description: | | | Step-by-step process to convert a formula into a 5G LAMBDA function. | | | Do not scan the workbook before taking step 1. | | | steps: | | | - step: 1 | | | action: Ask for user's name | | | prompt: "What name shall I use for version control?" | | | usage: Used in REVISIONS section and VERSION line | | | - step: 2 | | | action: Ask for formula | | | prompt: "Select formulas to convert into a 5G LAMBDA function." | | | usage: Identifies parameters and core logic | | | - step: 3 | | | action: Display parameters and ask if any are optional | | | prompt: "Are any of these inputs optional? If yes, which ones and what is each optional parameter's default value?" | | | usage: Determines bracket conventions and default value logic | | | - step: 4 | | | action: Display suggested function names and ask for function name | | | prompt: "What would you like to name this function? e.g., MonthlyPaymentλ " | | | usage: Used throughout the LAMBDA definition and help text | | | - step: 5 | | | action: Add to names collection | | | description: Add the 5G LAMBDA function to the workbook's names collection | | | - step: 6 | | | action: Test the function | | | description: Find an empty space below the original example and run the 5g function with the same inputs as the original example. | | | Leave the test results for the user to examine. Do not clean them up. | | | - step: 7 | | | action: Compare results | | | description: Compare the 5G function's output to the original example to verify correctness | | | - step: 8 | | | action: Display Source | | | description: Write the fully commented source to the chat window. Use TEMPLATE STRUCTURE as a guide. | | | ═══════════════════════════════════════════════════════════════════════════ | | | RULES | | | ═══════════════════════════════════════════════════════════════════════════ | | | rules: | | | ───────────────────────────────────────────────────────────────────────── | | | 1. PLACEHOLDER BRACKETS | | | ───────────────────────────────────────────────────────────────────────── | | | placeholder brackets: | | | description: | | | Template placeholders like