LogoLogo
API Documentation
Current Version
Current Version
  • DecisionRules Documentation
  • DecisionRules Academy
  • API
    • API Introduction
    • API Keys
      • Solver API Keys
      • Management API keys
      • BI API keys
    • Rule Solver API
    • Management API
      • Rule Migration Strategies
      • Deprecated Endpoints
    • Console Logs API
    • Business Intelligence API
      • Deprecated Endpoints
    • Datacenters & Locations
      • Global Cloud
      • Regional Cloud
    • Apache Kafka Solver API
    • Endpoint Settings
    • Archive
      • Rule Flow Solver API (DEPRECATED)
  • AI Assistant
    • About Assistant
  • RULES
    • Rules Introduction
    • Rule List
    • Rule Mode
    • Common Rule Features
      • Input & Output Model
        • Simple Editor
        • JSON Editor
      • Test Bench
      • Rule Alias
      • Rule State
      • Versioning
      • Rule Variables
      • Execution Strategy
      • Rule Dependencies
      • Rule Export & Import
        • Rule Export
        • Rule Import
        • Managing Decision Table in Excel/Google Sheets
        • Deprecated Formats: XLSX v.1 and CSV
      • Tags
      • Rule Comparison
        • Decision Table Comparison
        • Decision Tree Comparison
        • Scripting Rule Comparison
      • Rule Lock
      • Teamwork Indicator
      • Event Timeline
    • Data Types & Functions
      • Supported Data Types
      • Operators and Functions
        • Basic operators
        • Date operators
        • Functions
          • Logical Functions
          • Math Functions
          • Date and Time Functions
          • Text Functions
          • Data Functions
          • Array Functions
          • Integration functions
          • Functions and JSON
    • Decision Table
      • Table Designer
        • Table Operations
          • Filter Values
          • Valid Values
          • Sorting
      • Binding to Model
    • Decision Tree
      • Tree Designer
    • Workflow
      • Workflow Designer
      • Workflow Nodes Overview
      • Workflow Limits
    • Scripting Rule
      • Custom functions in Scripting Rules
      • Calling external API within ScriptingRules
      • Use Rule Variables in Scripting Rules
      • Call Embedded Rules in Scripting Rules
      • Tips
    • Rule Flow
      • Rule Flow Designer
      • Rule Flow Mapping
      • Rule States in Rule Flow
      • Warnings & Errors
      • Rule Flow Limits
  • SPACE
    • Space Introduction
    • Space Info
    • Dashboard
    • Access
    • API Keys
    • Audit Logs
  • Organization
    • Organization Introduction
    • Organization List
    • Members
    • Teams
    • Spaces
    • Space Roles
    • Policies
    • Statistics
    • Settings
  • Profile
    • Profile Introduction
    • General
    • Dashboard
    • Plans
    • Add-ons
    • Limits
      • Plan Limits Explained
    • Subscriptions
    • Invoices
  • Access
    • Sign Up & Login
    • Invitations & Permissions
    • Single Sign-On (SSO)
  • Business Intelligence
    • Audit Logs
    • Power BI Connectivity
      • Create a Power BI Report
      • Connect Power BI to Business Intelligence API
      • Connecting from Power BI (deprecated)
      • Connect DecisionRules to Power BI Using Our Custom Connector
  • OTHER DEPLOYMENT OPTIONS
    • Regional Cloud
      • Region Specific API URLs
    • Docker & On-Premise
      • Environment Variables
      • Redis Connection Modes
      • DecisionRules Application
        • Minimal Requirements
        • DecisionRules Server
        • DecisionRules Client
        • DecisionRules Business Intelligence
        • Networking Between Docker Containers
      • Setup Single Sign-On (SSO)
        • Set up Microsoft Entra ID SSO
        • Set up Google SSO
      • Docker Showcase App
        • Showcase
        • Showcase + Business Intelligence
      • AWS Setup
        • AWS ECS/Fargate
        • Cache - Amazon ElastiCache
      • Microsoft Azure Setup
        • Database - Azure CosmosDB
        • Cache - Azure Cache for Redis
        • Azure Container Apps
      • Azure Red Hat OpenShift
      • Google Kubernetes Engine (GKE)
      • Kubernetes Setup
        • Kubernetes Setup with Business Intelligence
      • Logging options
      • CD/CI Pipelines
        • Azure DevOps CICD Pipelines
        • Using Migration script (old way)
      • Offline License
  • SDK and Integrations
    • Languages / Frameworks
      • SQL Server
      • Oracle PL/SQL
      • PostgreSQL
      • JavaScript
      • Java Spring Example
      • PHP Library
      • Python Library
      • .NET Library
      • Google Tag Manager
    • Excel Add-in
  • Terms & Conditions
    • Terms and Conditions
    • Privacy Policy
    • Service Level Agreement
      • Community Support
      • Standard Cloud (SaaS)
      • Silver SLA
      • Gold SLA
      • Custom SLA
    • Sub-Processor List
  • Product Updates
    • Release Notes
      • Public Cloud
      • On-Premise / Private Cloud
    • Major Updates
      • Changes in Version 1.19.0 (10/2024)
      • Changes in Version 1.20.0 (4/2025)
    • Roadmap
Powered by GitBook
On this page
  • What is an Excel Add-in?
  • How to install the DecisionRules Excel Add-in?
  • Getting started with the DecisionRules Add-in
  • How to use the Custom Solver?
  • Step 1: Prepare Your Excel Data
  • Step 2: Configure the Add-in (Configuration Tab)
  • Step 3: Map Excel Columns (Mapping Tab)
  • Step 4: Select Rows (Row Selection Tab)
  • Step 5: Solve the Rule
  • Additional features
  • Configuration Profiles
  • Supported Excel Versions

Was this helpful?

  1. SDK and Integrations

Excel Add-in

Use the power of DecisionRules in Excel using our Excel Add-in.

Last updated 1 month ago

Was this helpful?

What is an Excel Add-in?

An Excel add-in is a tool that you can add to Microsoft Excel to extend its capabilities. Specifically, the DecisionRules Excel Add-in allows you to solve your rules defined in DecisionRules with the data from your Excel sheets. It also writes the solved data into a new sheet, making it easy to analyse and use the results directly within Excel.

How to install the DecisionRules Excel Add-in?

  1. Open Excel and create a new sheet.

  2. In Excel, navigate to the Home tab. On the toolbar (ribbon), find the button labeled Add-ins and click on it. This will open a pop-up window.

  3. In the bottom right corner of the pop-up window, click on the button labeled More Add-ins. This will open the Office Add-ins store.

  4. In the search bar, type the name of the Excel Add-in, in this case DecisionRules, and press Enter to search.

  5. Find the add-in in the search results and click on the Add button next to the add-in.

  6. Follow any additional prompts to complete the installation.

  7. And that's it! The DecisionRules Excel Add-in icon should appear on the right side of the toolbar in the Home tab.

Alternatively, you can find the Add-in here:

Getting started with the DecisionRules Add-in

The DecisionRules Excel Add-in is divided into 2 main parts. The Tutorial and the Custom Solver.

  • Tutorial is used to showcase the solving process and capabilities of the Add-in. It should be used by users who are new to the Add-in.

  • Custom Solver allows you to solve your custom defined business rules in DecisionRules using data from your Excel sheets.

How to use the Custom Solver?

This guide will walk you through using the Custom Solver in the DecisionRules Excel Add-in.

Step 1: Prepare Your Excel Data

Before you begin, ensure that the data you want to use is organized in your Excel sheet. Each column should represent a specific type of information that matches the input requirements of your DecisionRules rule (e.g., product type, period, promo code).

In the example image above, you can see that there are 3 types of data (productType, period and promoCode). The header column (purple row) with the data key is not necessary, but can be used to leverage the autocomplete feature (we will talk more about this feature in the column mapping step)

Step 2: Configure the Add-in (Configuration Tab)

  1. In the Integration tab, click on "Excel" and copy the JSON configuration.

  2. After pasting the configuration, click the "Setup Configuration" button.

This configuration connects your Excel sheet to the DecisionRules API, defines the rule to be solved, and specifies the input schema required.

Step 3: Map Excel Columns (Mapping Tab)

  1. In the mapping table, match the Data Key to the corresponding Excel Column. In the section one, we ordered the data in the order so that:

    • productType → Column A

    • period → Column B

    • promoCode → Column C

  2. After completing the column mapping, click the "Configure Mapping" button.

Alternatively, you can use the Autocomplete feature:

  1. Select the relevant data area in your Excel sheet.

  2. Ensure that the first row in your selection corresponds to the keys from the input schema.

  3. Click "Autocomplete" to automatically map the columns.

Step 4: Select Rows (Row Selection Tab)

  1. In the “Rows” input, specify the rows you want to solve:

    • A single row: 1

    • A range of rows: 1:3 (rows 1 to 3 - the range is indicated by ":")

    • A combination of rows: 1;3:5;7 (rows 1, 3 to 5 and 7 - the combination is indicated by ";")

Step 5: Solve the Rule

Once you’ve mapped your columns and selected your rows, click the "Solve Rule" button. The Add-in will create a new sheet named <INPUT-SHEET-NAME>-Output (for example DR-Example-Input-Output) containing the results.

By following these steps, you can easily solve custom rules from DecisionRules using data from your Excel sheet.

Additional features

Configuration Profiles

Once you’ve used the custom solver, you might need to work with multiple DecisionRules rules, each requiring a different configuration. This is where Configuration Profiles come into play. A Configuration Profile is a predefined Excel Integration Configuration (in JSON format) that you can create once and reuse multiple times, ensuring faster and more efficient use.

Supported Excel Versions

The DecisionRules Excel Add-in currently supports the following versions of Excel:

  • Excel on Windows & Mac (Microsoft 365)

  • Excel 2019 or later on Windows

  • Excel 2016, 2019 or later on Mac

  • Excel on the web

  • Excel on iPad

Head over to and select the rule you would like to solve using the Excel Add-in.

Once in the rule, click on the "Integrations" tab.

Start the DecisionRules Excel Add-in and head over to the Custom Solver section.

In the Excel Integration Configuration (JSON) section, paste the copied JSON configuration.

Go to the Column Mapping Tab.

After mapping the columns, the mapping table should look like this:

Go to the Row Selection Tab.

After mapping the columns, the mapping table should look like this:

To access the configuration profiles, go to the Custom Solver Config Tab. Next to the "Configuration Profile" input, click the "Manage" button. Here you can create new profiles, updating existing ones, or deleting profiles you no longer need. Each profile consists of a unique name, a JSON configuration provided by DecisionRules, and optional default column mappings to simplify data integration.

https://app.decisionrules.io/
DecisionRules Excel Add-in in AppSource