🎓
Models University
  • Alpha Testing
    • 👋Welcome to Alpha
    • Installation and Setup
    • Support and Help
    • Terms and Licence
  • Start Here
    • What is Models?
    • Quick start
    • Tutorials
  • Using Taglo Software
    • The Taglo Interface
      • Navigating in Models
      • List Views
      • Adding Items
      • Deleting Items
      • Searching and Filtering
      • Previewing and Editing
      • Using Wizards
      • Save/Undo/Redo
      • Keyboard Shortcuts
    • Data Storage
    • Namespaces
    • Inbuilt data
  • Tags
    • Introduction to Tags
    • Tag Basics
    • Tags Applet
    • Advanced Tags
  • Models
    • Home Tab
      • Creating a Model
        • Timings
      • Version History
      • Application Settings
    • Model Editor
  • Variables
    • Variable Basics
      • Variable Setup
      • Unit and Calculations
    • Time Segments
      • Time Segment Setup
    • Summaries
    • Default Assumptions
  • Units
    • Introduction to Units
    • Key Unit Concepts
    • Advanced Units
    • Defining a Unit
    • Unit Factors
  • Dimensions
    • Introduction to Dimensions
    • Dimension Setup
    • Defining Unit Variance by Dimension
  • Data Types
    • Data Types
  • Assumptions
    • Introduction to Assumptions
    • Creating/Referencing Assumptions
    • Assumptions Wizard
      • Assumption Dates Step
      • Assumption Values Step
      • Linking to external Data
      • Linking to Excel Inserts
      • Sensitivity Values
  • Calculations
    • Introduction to Calculations
    • The Calculation Page
      • The Formula Entry Bar
      • Unit Analysis
    • Calculation Parts
      • Variable References
        • Referencing Time
        • Referencing Dimensions
        • Lookups
        • Summarising Variables
      • Period References
      • Functions
        • Advanced Functions
  • Aggregation
    • Introduction to Aggregation
    • Creating Aggregations
  • Rearranging
    • Introduction to Rearranging
    • Rearranging Example
    • Rearranging Tips
  • Cases
    • Introduction to Cases
    • Managing Scenarios
    • Managing Sensitivities
  • Layout
    • Generating Excel
    • Auto Layout
    • Sheets
      • Sheet Content
      • Adding and Editing Content
    • Excel Formatting
      • Excel Themes and Styles
      • Line Formatting
    • Data Tables
    • Excel Generation Troubleshooting
  • Excel Inserts and Outputs
    • Excel Inserts
    • Excel Outputs
  • Number Formats
    • Number Formats
  • Dashboards
    • Dashboards Basics
    • Dashboard Layout
    • Dashboard Items
    • Excel Dashboards
  • Metrics
    • Metrics
  • Charts
    • Introduction to Charts
    • Chart Customisation
  • Importing Models
    • Importing Models
  • Data
    • Introduction to Data
    • Creating Data
    • Data Sources
Powered by GitBook
On this page
  • Overview
  • Lookup reference example
  • Creating the Lookup reference
  1. Calculations
  2. Calculation Parts
  3. Variable References

Lookups

How to create a lookup reference

PreviousReferencing DimensionsNextSummarising Variables

Last updated 1 year ago

Overview

Sometimes you will need to lookup a 's value based on another Variable's value.

For instance, let's say we have a Model with four cost categories. For each cost category we want to apply one of two inflation types, RPI or CPI (Retail and Consumer Price Index respectively). We want to be able to dynamically choose between the two options, and for the cost item to use the correct inflation value automatically.

This is achieved using a Lookup reference - we explain how you can achieve this below.

This is the kind of operation you typically perform in Excel with an INDEX-MATCH formula, or an

Lookup reference example

Creating the Lookup reference

To create a Lookup reference, perform the following steps, as illustrated in the screenshots below:

  1. Edit the Variable Reference Calculation Part that has been added (2)

  2. In the Reference type page of the dialog, select a LOOKUP reference (3)

  3. This will display a new step, in which you can select a Variable with which to perform the LOOKUP (4). This Variable will need to have the same Dimensions as the Variable in which you are performing the Calculation. By default, this list will be filtered to Variables with the correct Dimensions.

This above example illustrates the scenario described in the . Recurring cost inflation pulls its values from Inflation by type according to the selected value in Recurring cost inflation types.

In the , add a Variable reference to the target Variable (1) (in the above example Inflation by type) using - by default, the reference will be a Summary of the target Variable, because the target has different , so an Auto reference is not possible.

Create the Lookup Variable by using the - in this case using Inflation type as the Validation Dimension.

Overview
Variable
XLOOKUP
Calculation step
Dimensions
Example of a Lookup reference
Creating a Lookup reference
Screenshots showing the steps described in this section for creating a Lookup reference
Validation data type
any method