Project Info
Inspiration
Spreadsheets are powerful but often frustrating tools. They require users to memorize complex formulas and spend time on tedious formatting, leading to a slow and efficient process. We wanted to create a solution that enhances productivity, reduces errors, and makes spreadsheets smarter and more intuitive.
What it does
LeXcel is an AI-powered add-on that enhances traditional spreadsheets by: Simplifying complexity โ Enables users to generate complex formulas using natural language prompts Eliminating tedious formatting โ Structures and formats new data given user requests Iterating With Verification โ Learn from previous mistakes to produce consistent and robust solutions
How we built it
We developed LeXcel as a seamless add-on in Google Sheets that is easy to download and run for anyone: no coding experience required. Our main tech stack is javascript, google script, sheetAPI, OpenAI, and Gemini.
Challenges we ran into
Ensuring AI suggestions are accurate and context-aware for different spreadsheet use cases Building a UI/UX that integrates seamlessly without disrupting existing workflows
Accomplishments we're proud of
Built a user-friendly AI-powered assistant that significantly reduces the time needed for spreadsheet tasks Successfully implemented real-time error detection and reasoning to fix its own errors
What we learned
There is a tradeoff between AI automatically inputting all formulas which may feel like magic, versus prompting the user for confirmation which could lead to more consistent results
What's next
Allow LeXcel to manipulate delete/insert rows, move data around, etc. Give LeXcel the ability to generate and execute multi-step computations Tackle more complex puzzles and Excel World Championship tasks Integrating with more spreadsheet platforms beyond Google Sheets such as Paradigm and Excel
๐ LeXcel - Natural Language Formula Assistant for Google Sheets ๐ค
LeXcel is a Google Sheets add-on that transforms the way you work with spreadsheet formulas. Instead of memorizing complex formula syntax, simply describe what you want to do in plain English, and LeXcel will generate and insert the appropriate formula for you! โจ
โญ Features
- ๐ฌ Natural Language Input: Describe your formula needs in plain English
- ๐ฎ Smart Formula Generation: Automatically converts your description into proper Google Sheets formulas
- ๐ง Context-Aware: Takes into account your selected cells and surrounding data
- ๐ Range Support: Works with both single cells and ranges
- โจ Auto-Fill: Automatically extends formulas across selected ranges
- ๐ฏ Interactive UI: Clean, modern interface with real-time feedback
- ๐จ Range Selection: Easy cell range insertion with visual selector
๐ How to Use
- Open LeXcel from the Add-ons menu
- Select the cell or range where you want to insert a formula and click the ๐ button to insert the selected range
- Type your request in natural language (e.g., "calculate the average of the numbers to the left")
- Click Send or press Enter
- LeXcel will generate and insert the appropriate formula โ
๐ก Example Requests
- "Sum all numbers in column A"
- "Find the highest value in the selected range"
- "Calculate the percentage change between these two columns"
- "Count how many times 'Completed' appears in status column"
- "Create a VLOOKUP to match these employee IDs with their names"
โ๏ธ Installation
- Open Google Sheets
- Go to Extensions โ App Scripts
- Add the Chatbot.gs and ChatbotUI.html files
- Grant the necessary permissions
๐ช Tips for Best Results
- โ๏ธ Be specific in your descriptions
- ๐ Include relevant context about your data
- ๐ฏ Use the range selector (๐) to specify exact cell ranges you want to input
- โ Review the generated formula before proceeding with other operations
๐ Requirements
- ๐ฅ A Google Workspace account
- ๐ Google Sheets access
- ๐ Internet connection
๐ Privacy & Security
- ๐ก๏ธ LeXcel processes all requests securely
- ๐๏ธ No data is stored permanently
- ๐ Operates within Google's security framework
- โก Requires minimal permissions to function
Made with โค๏ธ for spreadsheet users who prefer plain English to formula syntax.
Analysis
View
Metric
- 15
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- HTMLIn code
- JavaScriptClaimed
- OpenAIClaimed
1 of 3 appear in the indexed code. 2 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
29 KB
Source files
2
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
liunicholas/LeXcel
3 files ยท 52 KB ยท @ effc1c7
Structure
Interface
1 file ยท 33%Screens, components and styles rendered to the user.
Application logic
1 file ยท 33%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here โ open the file browser to check anything the diagram implies.
Languages
- HTML92%
- Markdown8%
Share of indexed source by file size. Binary and vendored files are excluded.
This projectโs features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.