Functions: Get
Functions help you build workpaper formulas, and you can use it for building Get formulas to pull data from a ONESOURCE product.
Workpapers uses 2 types of Get formulas depending on the product you use.
The Function Wizard detects your product and automatically selects the appropriate type of formula:
- TRGetField- Pulls a single field from a ONESOURCE product into a workpaper.
- TRGetRange- Pulls a range of fields from a ONESOURCE product into a workpaper.
Follow these guidelines for formulas:
- TRGetField formulas- The Add-in can't retrieve more than 3,400 TRGetField formulas at a time. If a workbook has more then 3,400 formulas, use the Retrieve Selected Data function.
- TRGetRange formulas- A GetRange formula can't retrieve more then 2,000,000 cells of data within the Add-in. If a formula retrieves more than 2,000,000 cells, use the Batches feature.
- Length- Formulas can't exceed 8,192 characters.
- Volatile functions- Formulas shouldn't contain volatile functions, such as RAND(), NOW(), TODAY(), OFFSET(), CELL(), INDIRECT(), and INFO(). Volatile functions slow down Add-in calculations because each instance of these functions is executed when Excel recalculates.
- Nested formulas- Formulas shouldn't contain nested functions since there are some limitations in calculations, including precedence chain calculations.
To create a Get formula:
- In Excel, go toWorkpapersand selectFunctions.
- In the Function Wizard, selectGet data, and then select components to identify your data.
- SelectNext.
- If you see fields underSelect Parameters, select values in each parameter.
- Red asterisks indicate required values.
- Some ONESOURCE products offer these parameters:
- All (Perpetual)- This acts like a wild card that selects all parameter values and includes subsequent new values from the Platform.
- All (Point in time)- This selects all the current parameter values and doesn't include subsequent new values from the Platform.
- SelectNext.
- Enter theTarget Range, which is the cell or cells that receive the data from the Platform.noteIf you want to anchor Target Range, select the appropriate arrow: the down arrow to anchor the column and the right arrow to anchor the row.
- If your formula is TRGetRange, you have the additional optionTransposeto switch the layout of the results from rows to columns (or columns to rows).noteThe information icon changes to a checkmark when the formula's complete.
- SelectDone. The formula cell's updated with the current date and time. The target cell's highlighted in blue for TRGetField formulas only.