Spreadsheet Lambda Creation from Formula Expressions for Reuse

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Spreadsheet applications face challenges in creating and maintaining user-defined functions (UDFs) due to complexity, requiring programming knowledge and lacking scalability and cross-platform portability, with existing UDFs being cumbersome and inefficient.

Innovation Solution

Automatically creating lambda functions in spreadsheet applications using formulaic expressions without explicit lambda notation, enabling users to define and invoke lambdas within cells using a lambda registry, and optimizing repeated expressions for improved execution and scalability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If User Defined Functions (UDFs) are implemented in spreadsheet applications, then functional capability is improved, but complexity and ease of operation deteriorate due to requiring programming language knowledge

Engineering Contradiction:
Improvefunctional capabilityVSAvoidease of operation
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent introduces lambda expressions as an intermediary between traditional UDFs and spreadsheet formulas. Lambda expressions serve as a mediator that provides functional capability without requiring full programming language knowledge, bridging the gap between simple formulas and complex UDFs through a simplified syntax that can be embedded directly in cell formulas

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the UDF creation process into two distinct approaches: traditional UDFs for complex functionality requiring programming knowledge, and lambda expressions for simpler functional needs that can be embedded in formulas. This segmentation allows users to choose the appropriate level of complexity for each specific task, improving overall ease of operation while maintaining functional versatility

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If traditional UDFs are used, then functional capability is improved, but device complexity increases due to lack of native support and scalability issues

Engineering Contradiction:
Improvefunctional capabilityVSAvoiddevice complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges lambda expressions with the spreadsheet formula system, allowing functional capabilities to be integrated directly into the existing formula evaluation infrastructure. This merging eliminates the need for separate UDF execution environments and reduces device complexity by unifying the functional implementation approach within the spreadsheet application's native architecture

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a universal functional expression system where lambda expressions can serve multiple purposes: they can be embedded in cell formulas, passed as arguments to other functions, stored in named ranges, and used across different spreadsheet operations. This multi-functionality reduces device complexity by providing a single, versatile mechanism that replaces multiple specialized UDF implementations

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Adaptability or versatility

If complex formulae are used in spreadsheets, then functional capability is improved, but productivity deteriorates due to lack of modularity and copy/paste duplication

Engineering Contradiction:
Improvefunctional capabilityVSAvoidproductivity
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent enables functional expressions to be copied and reused throughout the spreadsheet by allowing lambda expressions to be defined once and referenced multiple times in different cells and contexts. This copying capability eliminates the need to manually duplicate complex formula logic, significantly improving productivity while maintaining full functional capability

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent allows functional expressions to be defined in advance using lambda syntax and stored for later use. Users can create reusable functional building blocks before needing them, and then simply reference these pre-defined expressions throughout the spreadsheet, improving productivity by eliminating repetitive formula creation while maintaining complex functional capabilities

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP3799632B1Automatically creating lambda functions in spreadsheet applications
Publication Date: 2025.09.10 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP3799632B1 patent drawingFigure 1
  • EP3799632B1 patent drawingFigure 2
  • EP3799632B1 patent drawingFigure 3

AI summary

Examples discussed herein relate to automatically creating lambda functions in spreadsheet applications, e.g., Microsoft Excel®. In an implementation, a method of automatically creating lambda functions in spreadsheet applications using a lambda shorthand notation is disclosed. The method includes analyzing contents of a cell of a spreadsheet to identify a formulaic expression and determining that the formulaic expression can define a body of a lambda function without using explicit lambda function notation or parameter declarations. The method further includes automatically creating and invoking the lambda function responsive to the determination. As discussed herein, creating the lambda function includes registering the lambda function in a lambda registry using the formulaic expression as the body of the lambda function that evaluates into an output value.