Introduction to the Excel add-in

With the Macrobond Excel add-in (which works as Excel connector to Macrobond) you can import data from Macrobond into Microsoft Excel and easily keep it updated with the latest values. You can also create a custom series by uploading data from Excel and use as in-house series in Macrobond.

Add-in panel is visible in Excel's ribbon. Depending on your version of Excel, the add-in can look a bit different:

  1. Data set interaction section
  2. Uploading series section

With Excel add-in you can add data in two forms:

  • As a Time series - this will import all the values of one or more time series that you select.
  • As a Report - this will import the last value of predefined reports, such as company account data.

Enabling Macrobond add-in

Excel add-in is installed along with the main-app. Under some circumstances it might not be enabled from the start or it might disable itself at some point (for example due to conflict with other add-ins). You can manually re-enable it with below methods. Please try to re-enable add-in in the following order:

From Disabled Items

The instructions below illustrates how to enable the Macrobond add-in in Excel. However, the instructions are applicable for Word and PowerPoint as well because the method is identical across the Office products.

Note: the pictures below might vary depending on your Microsoft Office version.

Open Excel and select File from the main menu:

Next, select Options from the list.

Select Add-Ins from the menu and go to the Manage drop-down menu. Select the Disabled Items option and press the Go button.

If your add-in is disabled, it will be displayed in the list. Select the Macrobond excel add-in and click the Enable button.

After restarting the office application, the Macrobond add-in should be visible again.

From COM Add-ins

Same as in re-enabling above, go to File->Options->Add-ins, set Manage: COM Add-ins, press 'Go'. Should look like this:

Import time series

There are three different methods that can be used for importing time series from Macrobond into Excel: selecting series by using the data navigator, use series from country and company overviews or use the result of a calculation in a Macrobond document.

Select series by using the data navigator

The All series button in the Macrobond add-in toolbar/menu will bring up a dialog like this:

  1. Database navigator
  2. Import mode
  3. Import settings
  4. Series included in dataset

You then select one or more time series using the database navigator.

There are two import modes:

Processed All series in the set are converted to the same frequency and calendar and there is only one column/row of dates. You may select rate of change calculations and scale for each series.
Raw Series are treated separately and there is a column/row of dates for each series.

Get series from country and company overviews

The Overview button in the toolbar/menu allows you to do cross-country or cross-company comparisons of data in Excel. Selecting it will display a dialog like this:

Add one or more countries or companies by using the Database navigator. Then select the type of overview.

Use the result from a Macrobond document

You can use the result of any calculation in a Macrobond document and turn it into a Macrobond Excel Data set. There are several ways you can do this:

  1. You can press the Import button/menu item in the Macrobond Excel add-in and select a saved Macrobond document.
  2. You can select Copy/Export as Excel Data set on the Edit or context menu when an analysis is selected in a Macrobond document that you can paste into Excel:
  3. Select values in a Table presentation in the Macrobond application and then select Copy special from the Edit or context menu. Select to copy a Data set instead of Text and then paste the result into Excel:

When you copy or import time series from a Macrobond document into a Data set, a copy of all calculations is stored in the Data set and there is no dependency on the document where the data came from. In order to edit the calculations used by the Data set, press the Edit document… button:

This will open a document tab in the Macrobond application where you can view and change the calculation settings.

Data sets

When you have imported data to the Excel sheet you will notice a red object in your sheet with the text “Macrobond Data set”. It is this object that keeps track of what series and settings you have selected.

If you select the red Data set object and press the Edit selected data set in the toolbar/menu, you will once again see the dialog where you select series and settings.

When you press the Refresh button in the toolbar/menu, all data in the current workbook will be updated with the latest information.

Data is always placed in the sheet relative the Data set object. If you move the Data set object, you will notice that the data is imported to a new position the next time you select Refresh.

Please note that if you remove the Data set object, the information can no longer be updated when you select Refresh.

You can have any number of Data sets in a workbook.

Import reports

Press the Report button in the toolbar/menu to bring up the report selection dialog. When you select an entity, such as a company or a country, for which there are reports, you will see a list of the reports at the top of the dialog. When you select a report then a new tab will be created on the right hand side.

You can add more entities to each report by selecting the entity and then pressing Add to active report.

Each new report will be imported to a new sheet.

Uploading in-house series

You can upload time series data from an Excel sheet into your in-house account database in Macrobond. This is done by creating a template in your Excel sheet that contains information about each time series. The template must follow a strict layout. The easiest way to create the template is to press the Create template button/menu item in the Macrobond Excel add-in (please note, that you need to select a record in the first row, in your Excel spreadsheet, prior to pressing this button). This will bring up a dialog where you fill in the information needed to create the template:

A series name should start with a letter and contain only lower case letters, and numbers. The name should contain between 2 and 24 characters.

Additionally, in the Optional information tab, you can mark values of the in-house series as forecast, before uploading them to Macrobond. In order to do that, tick off the option Add a column that indicates if a value is a forecast. Please note that adding a forecast column is possible only while creating a template. In case you are modifying already existing template, this option is not active.

When you press Create, the template is created in you sheet:

In order to mark a the series values as forecasts you should use =TRUE formula in the cells.

You can edit the template by selecting the Edit template button/menu item in the add-in.

You need to fill in at least one date and one or more values. If only the first date is specified, the selected frequency will used to deduct the following dates.

You can have several templates in the same sheet. If you want to use the same dates for another series, you can copy the column of values like this:
ExcelAddin - 11

You use the Upload all templates button/menu item, which will look for templates on all the sheets in the workbook, or Upload selected templates, which will look for templates in the range of selected cells.

If you upload new series while the Macrobond application is running, you might have to press the Refresh button in order to see the new series immediately: