Abstract
Spreadsheet programming requires a difficult balance between technical formula knowledge and high-level architectural planning. While Large Language Models (LLMs) excel at generating individual formulas, they often struggle to maintain the "big picture" of a complex workbook. Conversely, traditional templates are often too rigid for specific user needs. This paper introduces TableTalk, an AI-powered agent that scaffolds spreadsheet development by guiding users through a structured, incremental workflow. By combining expert-derived processes with the flexibility of conversational AI, TableTalk reduces user cognitive load by 12.6% and produces spreadsheets that are 2.3 times more likely to be preferred by evaluators compared to standard AI assistants.
Introduction
Spreadsheet development is a ubiquitous yet challenging form of end-user programming. Success requires two distinct competencies: technical proficiency (understanding functions and syntax) and problem-solving (decomposing a goal into a logical data structure). Current AI assistants, such as standard LLM-based copilots, often focus on the former, providing localized formula help without helping the user organize the broader application.
To address this, we developed TableTalk. TableTalk is designed to act as a digital scaffold, providing the structural benefits of a template with the adaptability of a human collaborator. It moves beyond simple command execution to guide users through a professional lifecycle: from gathering requirements to defining schemas and finally extracting insights.
System Design and Methods
TableTalk’s architecture is built upon three core design principles identified through a formative study of 85 professional Excel templates and interviews with experienced programmers:
- Scaffolding: The agent enforces a structured plan based on expert workflows. It ensures that data requirements are established before formulas are written, preventing the "blank canvas" paralysis common in complex tasks.
- Flexibility via Suggestion Pills: To avoid the rigidity of traditional templates, TableTalk offers "suggestion pills"—three context-aware potential next steps at every turn. This allows users to maintain agency and steer the conversation based on their specific needs.
- Incrementality: The system builds the spreadsheet in small, atomic units (e.g., adding a single table or a specific chart) using a suite of pre-defined OfficeScript tools.
A critical technical feature of TableTalk is Markdown prototyping. Before executing code in the Excel environment, the agent presents a preview of the proposed table schema or data structure within the chat interface. This allows for rapid iteration and user approval without the latency or "messiness" of modifying the actual spreadsheet canvas prematurely.
Evaluation
We evaluated TableTalk through a controlled study involving 20 programmers. Participants were tasked with two complex, real-world scenarios: managing student grades with custom weighted averages and tracking client payments with overtime logic. We compared TableTalk against a baseline (Excel Copilot) across several metrics, including output quality, cognitive load, and system usability.
Key Results
- Higher Quality Outputs: Spreadsheets generated with TableTalk were 2.3 times more likely to be preferred by independent evaluators over those created with the baseline assistant.
- Reduced Cognitive Load: TableTalk reduced the mental effort required for task completion, resulting in a 12.6% reduction in cognitive load and saving an average of 112 seconds of "thinking time" per task.
- Improved Usability: TableTalk achieved a System Usability Scale (SUS) score of 74.0 (Good), significantly outperforming the baseline score of 59.8 (OK).
- Enhanced Conversation: The agent scored higher on metrics of relevance and proactivity, suggesting that users found the scaffolded approach more helpful than a reactive chat interface.
Discussion: The Proactivity Paradox
Our study revealed a significant shift in user behavior: TableTalk allowed users to focus on high-level requirements rather than low-level implementation. However, this proactivity introduced a "Proactivity Paradox." While users appreciated the agent's ability to suggest useful features they hadn't considered, some felt a diminished sense of ownership or found the agent's suggestions occasionally invasive. This highlights a tension in human-agent collaboration: the need to provide helpful guidance without overstepping the user's intent.
Limitations and Future Work
While TableTalk represents a significant step forward, several challenges remain. LLM latency remains a hurdle for users accustomed to the instantaneous nature of manual editing. Furthermore, we observed an "overreliance" effect where users occasionally failed to debug AI-generated formulas, even when errors were present.
Future iterations of TableTalk will focus on:
- Code Comprehension: Incorporating features that explain formula logic to encourage user verification.
- Direct Manipulation: Integrating more granular controls, such as a dedicated "Stop" button or the ability to undo specific agent actions directly within the Excel UI.
- Scaling: Developing compressed spreadsheet representations to handle multi-sheet workbooks within limited LLM context windows.
Conclusion
TableTalk demonstrates that agentic scaffolding can significantly improve the spreadsheet development process. By offloading the "how" of implementation, TableTalk empowers users to focus on the "what" of their data problems, resulting in more robust, professional-grade workbooks with less mental effort.
Summary updated