---
title: "Excel Templates Knowledge Base"
canonical: "https://docs.getxray.app/space/XRAY/160039213/Excel%20Templates%20Knowledge%20Base"
format: markdown
---
# Problem

Cannot create a chart in a sheet populated by exported data from a different sheet.

# Solution

## 1. Create a simple table with column titles to export your data

![image](media://b4157b0a-7db3-4ea7-ac70-71ea3eac8feb)

## 2. Create a named formula for each column in your table. This formula will have the following syntax:

| `=OFFSET(DATA!$A$1,1,0,COUNTA(DATA!$A:$A)-1,1)` |
| --- |

This formula will create a zone/range that will represent the column with all the exported data.

    * DATA!$A$1 -> This represents the starting cell: we'll start on the column title (Sheet 'DATA', Cell A1: 'Key', in this example)

    * 1 -> The vertical offset of the zone/range based on the starting cell (start one cell below that one)

    * 0 -> The horizontal offset of the zone/range based on starting cell (we want to stay in the same column)

    * COUNTA(DATA!$A:$A)-1 -> This will count all cells with values on sheet 'DATA' and Column A (subtract one to remove the 'Key' title), defining the zone/range with all the rows exported

    * 1 -> Number of columns to define the zone/range (we only want the column we're on)

![image](media://d9d90369-a2be-4069-b029-b140d9b51356)

## 3. Create a chart on a different sheet and "Select Data"

    * Add a new Series for each column you want to visualize in your chart:

        ** Series name: ="Estimated"

        ** Series values: =DATA!Estimated (sheet with data exported + name defined of the named formula)

        ** Series name: ="Spent"

        ** Series values: =DATA!Spent

    * Add a Horizontal (Category)

        ** =DATA!Keys

![image](media://1aff4e35-8ecd-4f7f-a5a0-79d88246e790)

![image](media://014363d1-95d3-4ac6-9163-72f3376ccf71)

## 4. Save, upload to Xporter for Jira, and then export issues with data.

![image](media://068f50c0-c4ce-468f-abd2-329f2e146237)

![image](media://493e60e9-ebce-4ef0-bab3-4a7219c4224e)