Click here for help with Installation & Removal.

Overview

SQL+ is an AddIn for Microsoft Excel. It enables the use of SQL in Excel.

Usage

When you open Excel and open or create a workbook, you should see the “SQL+” ribbon in the menu bar. Click on it to use the functions of SQL+.

Ribbon

  1. Button to open the SQL Editor, the core functionality of the AddIn.
  2. Convenience feature of the AddIn to define the general format of the generated results.
  3. Convenience features of the AddIn to define the format of text, numbers and dates of the generated results.
  4. [...]

SQL Editor

  1. Press the "Input XLS" button to select a workbook as input. The currently open workbook is selected as default. To reselect this after having selected another one press "[This Workbook]". Press the "Input CSV" button to open the input csv dialog. Here you can select your parameters for your csv files. Press "Select Folder" to select a folder that contains the csv files. The folder acts like a workbook and the files like worksheets. When all parameters and your folder are selected press "Done".
  2. Here you can select a template from the dropdown menu.
  3. [...]
  4. Here you can enter your own SQL query in the field or edit manually a template. When you use a xls as input the input sheet must be entered with a "$" after the name and in square brackets. You can also define a specific range for your input sheet after the "$" (e.g. sheet name: Test | use in the SQL editor: [Test$A1:G100]). If you use a folder with csv's as input you have to enter full file name with ".csv" (without a "$") in square brackets (e.g. csv file name: Test | use in the SQL editor: [Test.csv]).
  5. Here you can either replace placeholders defined by the selected template with your own values or define your own replacements.
  6. Select your output sheet from the currently open workbook from the dropdown menu.
  7. Optionally, you can choose whether the header should be included, the output sheet should be cleared or the output should be transposed.
  8. To execute the SQL query with the selected parameters press "RUN".
  9. [...]
  10. [...]

Enable Trust Access to the VBA Project Object Model

This setting is required to allow the add-in's macros and VBA scripts to function properly by granting access to the VBA project programmatically.

Special Functions

COR

[...]

COV

[...]

CHINV

[...]

REG

[...]

SQL Patterns

In the SQL Template dropdown, you may select from a list of SQL design patterns. These patterns employ placeholders (values in square brackets) for table and column names and various parameters. To adapt a pattern to your particular cause, replace its placeholders with your own values using the right pane of the SQL editor. You may also define replacements for additional parameters or clauses and apply them to a selected template or a self-defined statement.

Data Quality

Time Series

Statistics