Download Reportworq

This is the archived documentation for Reportworq 5. It is kept for reference and is no longer updated.

Go to the Reportworq 6 documentation

Creating Contribution Templates#

Contribution templates define the content and appearance of input forms for Contribution Campaigns.

Contribution starts with one or more planning report spreadsheets, which might normally be distributed using Reportworq. You can turn the reports into Contribution templates by adding one or more formulas that define the input ranges that require data entry. You can also add filters, checkboxes, picklists, and data validation formulas with associated warning messages.

This article describes how to use the Reportworq add-in for Excel to create formulas for Contribution templates. Alternatively, you can create and edit the formulas manually.

The main topics in this article are as follows:

When you are finished configuring your Contribution template, set the spreadsheet's Print Area to include only the cells you want Contribution users to see. Save the Contribution template file in a location that is designated as a Report Provider.

Accessing the Reportworq Add-in#

Before you can use the add-in for the first time, you must install it. Each time you use the add-in, you must launch it. To install or launch the add-in, a Reportworq license is required.

Internet access is required to install or use the Reportworq add-in.

To launch the add-in after it has been installed:

  1. Open the Excel report (.xlsx file) you want to modify.
  2. At the top of Excel, select the Reportworq tab and then select the Reportworq open button. If you are not logged in to Reportworq, the login prompt appears.
  3. If the login prompt appears, do the following:

Opening Reports Previously Modified by the Add-in#

If you open a report that has been previously modified by the Reportworq add-in, Excel automatically attempts to launch the add-in:

Tap or click the image to view it full screen

After you log in, the Reportworq add-in pane appears.

View and Create Input Ranges#

You can create new input formulas or review and modify existing ones. When you select View and Create Input Ranges, the Edit Input Formulas area appears.

Tap or click the image to view it full screen

To create or modify an input range:

  1. If you are modifying an existing input formula, select it from the list, and proceed to Step 4.
  2. Select Create a new Input Range. The Select Data box appears.
  3. Select or specify which empty cell in the spreadsheet will contain the new input formula. Tip: Do not place an input formula in a column that contains row headers, or in a row that contains column headers.
  4. Configure the properties of the input range:
Tap or click the image to view it full screen

Tip: If you select a box that contains a cell reference, the cells are highlighted in the spreadsheet view.

Manage Validation Formulas#

Validations test cell values and display messages to Contributors and Approvers if test results are FALSE. You can set up any number of validations for a given cell and can apply the validation message to any cell you specify. On Reportworq Contribution input forms in Webview, validation messages appear as cell comments and are listed on the Validations tab of the Details pane.

When you select Manage Validation Formulas, the Edit Validation Formulas area appears. You can create new validations or review and modify existing ones. As you hover over each validation in the list, the cell that is informed by the validation is highlighted in the spreadsheet.

Tap or click the image to view it full screen

To create or modify a validation formula:

  1. If you are modifying an existing validation formula, select it from the list, and proceed to Step 4.
  2. Select Create a new Validation Formula. The Select Data box appears.
  3. Select or specify which empty cell in the spreadsheet will contain the new validation formula. This is the Location. Tip: Do not place a validation formula in a column that contains row headers, or in a row that contains column headers.
  4. Configure the properties of the validation, as follows:
Tap or click the image to view it full screen

Tip: If you select a box that contains a cell reference, the cells are highlighted in the spreadsheet view.

Manage Filter Formulas#

The Filter formula defines a row filter that appears on the input form as a dropdown list. Contributors and Approvers can apply these filters to view a subset of rows. Multiple filter criteria can be selected.

As in Excel, filters include a Search box. When search criteria are applied, the filter's Select All option changes to Select All Selected, which selects all the results of the search.

To define a filter, you specify the filter Location cell that contains the filter formula, a label for that cell (optional), and the filter range (optional). The filter range contains the filter criteria (selectable values to filter on), and is a contiguous block of cells from a single column. If you do not specify a filter range, the range extends from the filter Location cell downwards until an empty cell is encountered.

When you select Manage Filter Formulas, the Edit Filter Formulas area appears. You can create new filters or review and modify existing ones.

Tap or click the image to view it full screen

To create or modify a filter formula:

  1. If you are modifying an existing filter formula, select it from the list and proceed to Step 4.
  2. Select Create a new Row Filter. The Select Data box appears.
  3. Select or specify an empty cell to contain the filter formula. This cell is the filter Location.
  4. Configure the properties of the filter formula, as follows:
Tap or click the image to view it full screen

Tip: If you select a box that contains a cell reference, the cells are highlighted in the spreadsheet view.

Manage Checkbox Formulas#

The Checkbox formula adds a checkbox to the input form. Contribution users can select or clear the checkbox, which is clear by default.

When you select Manage Checkbox Formulas, the Edit Checkbox Formulas area appears. You can define new checkboxes or review and modify existing ones.

Tap or click the image to view it full screen

To create or modify a checkbox formula:

  1. If you are modifying an existing checkbox formula, select it from the list and proceed to Step 4.
  2. Select Create a new Checkbox Formula. The Select Data box appears.
  3. Select or specify an empty cell to contain the checkbox formula. This cell is the checkbox Location.
  4. Configure the properties of the checkbox formula, as follows:
Tap or click the image to view it full screen

Tip: If you select a box that contains a cell reference, the cells are highlighted in the spreadsheet view.

Manage Picklist Formulas#

The Picklist formula adds a dropdown picklist to the input form. Contribution users can select one value from the picklist.

When you select Manage Picklist Formulas, the Edit Picklist Formulas area appears. You can define new picklists or review and modify existing ones.

Tap or click the image to view it full screen

To create or modify a picklist formula:

  1. If you are modifying an existing picklist formula, select it from the list and proceed to Step 4.
  2. Select Create a new Picklist Formula. The Select Data box appears.
  3. Select or specify an empty cell to contain the picklist formula. This cell is the picklist Location.
  4. Configure the properties of the picklist formula, as follows:
Tap or click the image to view it full screen

Tip: If you select a box that contains a cell reference, the cells are highlighted in the spreadsheet view.

Preview the Input Form#

You can preview the input form and interact with it, to ensure that it appears as you want it to.

Before you preview the input form, set the spreadsheet's Print Area to include only the cells you want Contribution users to see.

Manage Settings#

When you select Manage Settings , the following settings appear:

Tap or click the image to view it full screen

Excel Features and Formatting#

Contribution supports most Excel features. Most Excel formatting options persist when the Contribution template is later used to create input forms. This topic highlights selected Excel features and formatting options, and provides information about how they can affect input forms.

Excel Features:

Excel Formatting Options:

Reminder: When you are finished configuring your Contribution template, set the spreadsheet's Print Area to include only the cells you want Contribution users to see. Save the Contribution template file in a location that is designated as a Report Provider.

Create and Edit Formulas Manually#

As an alternative to using the Reportworq Excel add-in, you can use Reportworq functions to create formulas for Contribution templates.

Important: Do not place formulas in rows that have column headers or in columns that have row headers.

This topic describes the following Reportworq functions for Contribution templates:

RW.Contribution.Check#

RW.Contribution.Check aka RW.Check adds a validation rule for a contribution cell and optionally marks that rule as required. If you are on a version earlier than 5.0.0.91 please use RW.Check.


Syntax#

=RW.Contribution.Check(targetCell, validationPassed, validationMessage, [validationRequired])

Arguments#

#NameTypeDefaultDescription
1targetCellCell reference(required)Contribution cell being validated.
2validationPassedBoolean(required)Validation expression result.
3validationMessageString(required)Message shown to the user when the rule fails.
4validationRequiredBooleanFALSEWhen TRUE, the validation is required rather than advisory.

Behavior#


Usage notes#


Examples#

=RW.Contribution.Check(B5, B5>0, "Amount must be greater than zero", TRUE)
=RW.Contribution.Check(C10, LEN(C10)>0, "Description is required")

Common mistakes#

SituationResult
targetCell is not a cell referenceFormula errors during parsing
Fewer than 3 argumentsFormula errors during parsing
Expecting the formula cell to show the message textThe formula cell only evaluates to TRUE or FALSE

RW.Contribution.Checkbox#

RW.Contribution.Checkbox aka RW.Checkbox creates a checkbox control for a contribution workbook and links it to a target cell. If you are on a version earlier than 5.0.0.91 please use RW.Checkbox.


Syntax#

=RW.Contribution.Checkbox(targetCell, label)

Arguments#

#NameTypeDefaultDescription
1targetCellCell reference(required)Cell that stores the checkbox result.
2labelString(required)Text shown next to the checkbox.

Behavior#


Usage notes#


Examples#

=RW.Contribution.Checkbox(Input!C5, "Include Historical Data")
=RW.Contribution.Checkbox(D10, "Approve for Export")

Common mistakes#


RW.Contribution.Filter#

RW.Contribution.Filter aka RW.Filter defines a contribution filter control and the list of values that control should offer. If you are on a version earlier than 5.0.0.91 please use RW.Filter.


Syntax#

=RW.Contribution.Filter([label], [filterValuesRange])

Arguments#

#NameTypeDefaultDescription
1labelString""Optional label shown for the filter control.
2filterValuesRangeSingle-column range(auto-detect)Optional list of filter values.

Behavior#


Usage notes#


Examples#

=RW.Contribution.Filter()
=RW.Contribution.Filter("Region")
=RW.Contribution.Filter("Product", Control!B2:B10)

Common mistakes#

SituationResult
Explicit range spans multiple columnsFormula errors
Expecting auto-detect to skip blanks in the middleAuto-detect stops at the first blank cell

RW.Contribution.Input#

RW.Contribution.Input aka RW.Input defines the editable range and dimensional context for a contribution form. If you are on a version earlier than 5.0.0.91 please use RW.Input.


Syntax#

=RW.Contribution.Input(inputRange, formName, [allowEditing], fieldName1, fieldReferenceOrValue1, [fieldName2, fieldReferenceOrValue2], ...)

Arguments#

#NameTypeDefaultDescription
1inputRangeRange / multi-range(required)Cells that belong to the contribution input area.
2formNameString(required)Logical form/model name used to group the inputs.
3allowEditingBooleanTRUEOptional edit flag. If omitted, ReportWorq assumes editing is allowed.
4+fieldName, fieldReferenceOrValueRepeating pairs(optional)Dimensional context for the input range.

Behavior#


Usage notes#


Examples#

=RW.Contribution.Input(D7:F9, "Expenses", TRUE, "Accounts", 6:6, "Products", A:A, "Period", B2)
=RW.Contribution.Input(D7:F9, "Expenses", TRUE, "Period", B2, "Version", B3, "Dept", B4)
=RW.Contribution.Input(D7, "Model", TRUE, "Rows", 1:1, "Cols", A:A)

Common mistakes#

SituationResult
Fewer than 2 argumentsFormula errors during parsing
Odd number of trailing field/value argumentsThe unmatched trailing item is ignored
A required field resolves to blank for a cell in inputRangeThat input cell is skipped
Treating a multi-row, multi-column rectangle as a row or column axisReportWorq treats it as a filter

RW.Contribution.List#

RW.Contribution.List aka RW.List creates a dropdown-style contribution control backed by a list of values. If you are on a version earlier than 5.0.0.91 please use RW.Input.


Syntax#

=RW.Contribution.List(targetCell, listValuesRange, includesHeader)

Arguments#

#NameTypeDefaultDescription
1targetCellCell reference(required)Cell that should store the selected value.
2listValuesRangeRange(required)Range that contains the list options.
3includesHeaderBoolean(required)When TRUE, the first item is treated as a header rather than an option.

Behavior#


Usage notes#


Examples#

=RW.Contribution.List(Input!C5, Control!A1:A20, TRUE)
=RW.Contribution.List(B10, Values!A1:A100, FALSE)

Common mistakes#


Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.