This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
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

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

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.

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.

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

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

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 |