Skip to main content

Getting started with HealthRota Reporting for Excel

Sign in to the HealthRota Reporting add-in and insert a live query of your reporting data.

HealthRota Reporting brings your trust's HealthRota reporting data into Excel: rota shifts, work items, timesheets, job plans, leave and more. You choose the data and filters, and the add-in writes a live query into the sheet. Change a filter cell and the data updates.

What you need

  • Excel on the web, Excel for Windows (Microsoft 365) or Excel for Mac.

  • A HealthRota account with reporting access in your trust. If you do not have one, ask your trust's HealthRota administrator. You cannot create an account from the add-in.

Add the add-in

If your organisation has deployed HealthRota Reporting, it is already on the Home tab as the HealthRota group.

To add it yourself, select Home > Add-ins, search for HealthRota Reporting, and select Add.

Sign in

  1. On the Home tab, select HealthRota > Reporting. The task pane opens.

  2. Select Sign in. A HealthRota sign-in window opens. Sign in with your usual HealthRota details.

  3. If you have reporting access in more than one trust, choose the trust from the Trust list.

The task pane shows who you are signed in as, the trust, and the add-in version. Select Sign out to sign out.

Insert a live query

  1. Select the cell where the query should start. The add-in needs empty cells below and to the right.

  2. In the task pane, choose a Data type, such as WorkItems.

  3. Select + Add filter for each filter. Each filter has a field, an operator and a value, such as rota_id, in, 1,2,3. The field box suggests the fields for that data type.

  4. Under Columns, tick the columns you want. Leave them all unticked for every column.

  5. Select Insert live query.

The add-in writes:

  • a Field / Operator / Value block with your filters. The Operator cells, and the Field cells when the list is short enough, have dropdowns;

  • a Columns row with the columns you chose;

  • a =HEALTHROTA.QUERY(...) formula under them. The results spill from that cell.

To change the query, edit the Field, Operator, Value or Columns cells. The results update. You can add a filter by typing it into an empty row of the block.

Get the latest data

Excel does not re-run the formulas on its own when HealthRota data changes. Select HealthRota > Refresh All on the Home tab to re-pull every HealthRota query in the workbook.

Functions

You can also type the functions yourself:

Function

Use

Data, with filters and columns taken from cells.

Data, with filters written as one text string.

Builds one filter as text from cells, for HEALTHROTA.GET.

The functions use the sign-in from the task pane. Open the task pane and sign in once after you open Excel.

Filtering reporting data explains every operator, how dates are read, and which fields you can filter on.

What data you see

You see the same data your HealthRota account can report on in the trust you chose. The add-in reads data only. It does not change anything in HealthRota.

Problems

Problem

What to do

A HealthRota cell shows #N/A "Sign in via the HealthRota task pane first"

Open the task pane and sign in.

The sign-in window does not open

Allow pop-ups for Excel on the web in your browser, then select Sign in again.

Signed in, but no data types are listed

Your account has no reporting access in that trust. Ask your HealthRota administrator.

A cell shows #SPILL!

Clear the cells below and to the right of the formula.

A cell shows #VALUE!

Hover over the cell to read the message. It names the field, column or value that is wrong.

For other help, contact HealthRota support at https://help.healthrota.co.uk/en/.

Did this answer your question?