---
title: "xlwings Lite new WINGMAN function - some usage patterns: python sandbox, stats, cleaning, bucketing, judging"
slug: xlwings-lite-wingman-function-usage-patterns
date_published: 2026-02-14T14:00:00.000Z
original_url: https://www.tigzig.com/post/xlwings-lite-wingman-function-usage-patterns
source: fresh
processed_at: 2026-02-14T14:00:00.000Z
---

# xlwings Lite new WINGMAN function - some usage patterns: python sandbox, stats, cleaning, bucketing, judging

![WINGMAN](/images/blog/claudeExcelWingman.png)

[Felix Zumstein](https://www.linkedin.com/in/felix-zumstein/) released the new function just yesterday. Similar to =COPILOT in Excel. Tried out some common patterns. Wanted to get a feel for it.

Works wonderfully well.

Sharing my test file so you can see the usage: [Google Sheets - WINGMAN test file](https://docs.google.com/spreadsheets/d/1EcJ2_EeL5GE6305A2rY26E9IkLumIiuQ/edit?usp=drive_link&ouid=104934656995825254465&rtpof=true&sd=true)

## Quick example patterns

Some quick example patterns that I have tried out:

- Having the LLM use its python sandbox
- Passing full range, adjacent ranges and single rows
- Getting back data in pre-specified structure so that it fits snugly next to my main table
- Data cleaning - judgment based (non deterministic)
- Categorize customer profile based on data points - judgment based

## Setup

Setup is straightforward - Settings - Local - Wingman. I tried it out with both OpenAI and Gemini. Works smooth. And option to bring custom model. So potentially you can use say an OpenRouter also...

Felix's release post: [LinkedIn](https://www.linkedin.com/feed/update/urn:li:activity:7428070504801992704)


xlwings Lite official site: [lite.xlwings.org](https://lite.xlwings.org)
