This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Inserting the content of a table cell

You can use table cell references to insert the content of a table cell in reports and analyses. Create the table containing the data that you want to use, and then insert a table cell reference where you need the data. You can use references to the row labels, column labels and the table cells in the report text, notes on analyses or in another table.

This means that you can use whatever data is in the table in your report, and it will automatically pick up the latest data. You do not need to copy and paste from one table to another.

Getting a table cell references

  1. Open the table containing the cell whose data you wish to insert.
  2. Right-click and select Copy Cell Reference from the context menu.

    Table: Q2 requency table in font 10

    The reference will be placed on the clipboard. You can insert it using [Ctrl]+[V].

Inserting a table cell reference

  1. To insert the data from a table cell, place your cursor where you wish the data to be inserted and double click to open the Override Analysis Value dialog window and click on the [Insert] button. Select Cell Value Field from the available options.
  2. Enter the table cell reference in the New Cell Value Field dialog and click [OK]. (Paste it from the clipboard using [Ctrl]+[V].

    New Cell Value Field dialog

How table cell references work

You can reference the data you want to insert by row and column number, or by the statistics number.

For example, the table (AN21) shown below has row and column data, and two statistics.

Smart reporting: image of

The reference is made up of the name of the analysis you wish to reference followed by a space, then a code to identify the cell to use.

The code is made up of letters representing row (R), column (C), statistic (S) or label, and numbers identifying which item you want.

You can find out what the code for a given cell is by putting the cursor on it or clicking it and looking for the cell reference information in the status bar.

Smart reporting: image of grid table

You can also find the cell reference details by double-clicking the cell and checking the information in the Override Analysis Value dialog.

Printer layout dialog with start new document highlighted

When the report is run, it will use the current data, for example

Smart reporting: image of

You can also perform calculations in the field, for example you can subtract one cell reference from another , e.g. AN21 R1C1 - AN22 R1C1

If you perform calculations on cell references, it is very important that you check that you are referencing the correct cells. It is always worth testing them with known data.

See Also

Putting a single piece of text or a graphic in your report

Putting dynamic text in your report

Checking the spelling of your reports

Positioning a chart, map or cloud in your report

Controlling which aspects of an analysis appear in your reports

Conditionally including content in your reports

Inserting dynamic data from a ranked table to put highest and lowest values in your report