GridBook: Natural Language Formulas for the Spreadsheet Grid
Authors
Document Title
GridBook: Natural Language Formulas for the Spreadsheet Grid
Document Information
- Subject Area: Human-Computer Interaction, Natural Language Processing, Programming for Spreadsheet User Interfaces
- Keywords: Spreadsheets, End-User Programming, Natural Language Programming, Data Analysis, Human-Computer Interaction, Natural Language Interfaces
Research Background and Problem
-
Problems and Challenges:
- Current spreadsheets (e.g., Excel) are among the most widely used forms of programming. While they are relatively user-friendly, learning and using traditional formulas for complex tasks remains challenging.
- Traditional tools for data analysis (e.g., Python, MATLAB) require explicit coding, increasing the cognitive burden for users outside computational fields.
- Performing analysis with traditional programming languages or spreadsheet formulas often requires switching between "thinking about the analysis task" and "expressing the analysis," which increases the learning curve.
-
Significance:
- Data analysis skills are increasingly becoming a core requirement across various fields, but many data analysts lack formal programming backgrounds.
- Reducing the cognitive burden of expressing data analysis tasks can help users complete data processing tasks more efficiently.
-
Research Motivation:
- To enable the use of natural language to express formulas within the spreadsheet grid, allowing users to manipulate data in a more intuitive way.
- To explore the application and advantages of natural language as a programming language in end-user programming.
Solution
-
Main Approach:
- Propose the GridBook system, which allows users to create formulas directly in the spreadsheet grid using natural language.
- Combine a deep learning parser with a contextual inference mechanism to interpret analytical intent and infer necessary parameters from natural language input.
-
Innovations:
- Natural Language Formulas: GridBook is the first system to integrate natural language formulas within the spreadsheet grid, enabling the coexistence of natural language expressions and traditional spreadsheet formulas.
- Contextual Inference: The system leverages the spatial context of cells to infer omitted analytical parameters from natural language input.
- Advanced Analysis: GridBook supports building new queries on top of existing analysis results, with formulas automatically recalculated.
-
Implementation Steps and Key Techniques:
- Design Goals:
- Lower the learning curve.
- Syntax parsing with error tolerance.
- Automatic recalculation when data or intermediate computations change.
- A highly readable, document-like programming environment.
- System Architecture:
- Context Provider: Extracts three types of contextual information—spreadsheet data tables, analysis tables, and adjacent columns—to assist natural language interpretation.
- Natural Language Parser: Based on a deep learning model, parses user input in natural language to generate analytical intent and role labels.
- Formula Generator: Converts parsing results into standard spreadsheet formulas, implemented via custom Excel functions.
- Implementation: GridBook is implemented as a web-based Excel add-in, using event listeners and remote parsing to return formula results.
- Design Goals:
Research Outcomes
-
Specific Achievements:
- GridBook provides the first spreadsheet environment resembling the behavior of "computational notebooks," supporting the coexistence of natural language and formulas.
- The system demonstrated potential in two comparative experiments, enabling users without computational backgrounds to quickly get started.
-
Experimental Results:
- Experiment A (Comparison with Excel):
- For experienced spreadsheet users, there was no significant difference in task completion time or cognitive load for data analysis tasks.
- Users believed that GridBook would be easier for beginners to learn.
- Experiment B (Comparison with Jupyter Python):
- GridBook significantly reduced task completion time for data analysis compared to users familiar with Jupyter (p < 0.05); cognitive load showed no significant change.
- Failure Cases and Limitations:
- Vocabulary issues (e.g., terms not correctly understood in context).
- Insufficient combinatorial constraints (limitations between natural language formulas and other formulas or spreadsheet operations).
- Lack of debugging and explanation mechanisms for natural language formulas.
- Experiment A (Comparison with Excel):
-
Advantages:
- Provides a more intuitive programming experience.
- Lower learning curve and rapid adaptability.
- Supports complex spreadsheet analysis tasks, avoiding the complexity of explicitly specifying ranges and operations.
-
Limitations and Future Directions:
- Currently supports only English, with limited natural language parsing capabilities.
- Integration with other spreadsheet operations needs improvement.
- The interpretability of the user reasoning model requires further exploration.
- Enhancing the diversity of training data for the model and supporting more complex queries.
Conclusion and Discussion
GridBook offers an end-user-friendly data analysis environment that significantly reduces the cognitive and time costs associated with traditional spreadsheets and computational notebook tools through natural language formulas. Future research should focus on optimizing the adaptability and interpretability of natural language models, as well as achieving seamless integration with traditional spreadsheet functionalities.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- Can natural language formulas lower the learning curve and improve spreadsheet users' efficiency in data analysis tasks?Category: Natural Language Formulas in SpreadsheetsSimilar questionsarrow_forward
- How can context inference mechanisms improve accuracy and usability of natural language formulas in spreadsheets?Category: Natural Language Formulas in SpreadsheetsSimilar questionsarrow_forward
- How does coexistence of natural language formulas with traditional formulas affect users' programming experience and task completion?Category: Natural Language Formulas in SpreadsheetsSimilar questionsarrow_forward
Practical Problems
1- Users without programming backgrounds struggle to efficiently complete complex data analysis tasks in spreadsheets.Category: Natural Language Formulas in SpreadsheetsSimilar questionsarrow_forward
- 67%
Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language Models
CHI '24· Human-LLM Collaboration +2
- 67%
Dango: A Mixed-Initiative Data Wrangling System using Large Language Model
CHI '25· Human-LLM Collaboration +2
- 67%
OmniQuery: Contextually Augmenting Captured Multimodal Memories to Enable Personal Question Answering
CHI '25· Human-LLM Collaboration +2
- 67%
ChainBuddy: An AI-assisted Agent System for Generating LLM Pipelines
CHI '25· Human-LLM Collaboration +1
- 67%
Results-Actionability Gap: Understanding How Practitioners Evaluate LLM Products in the Wild
CHI '26· Human-LLM Collaboration +2
- 67%
DataSpeck: An AI-Driven Human-in-the-Loop System for Automating Transformations in Data Conversion Workflows
CHI '26· Human-LLM Collaboration +2
- 67%
"I Want It That Way": Enabling Interactive Decision Support Using Large Language Models and Constraint Programming
IUI '25· Human-LLM Collaboration +2
- 67%
RAGTrace: Understanding and Refining Retrieval-Generation Dynamics in Retrieval-Augmented Generation
UIST '25· Human-LLM Collaboration +2
- 60%
Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration
CHI '23· Generative AI (Text, Image, Music, Video) +1
- 60%
Comparing Sentence-Level Suggestions to Message-Level Suggestions in AI-Mediated Communication
CHI '23· Human-LLM Collaboration +1
Based on Jaccard similarity of research subtopics & professions (≥60%)