Skip to content
Back to Support

For Users Who Prepare Accounts in Excel with GL Names Across Columns

If you prepare your accounts in Excel and your General Ledger (GL) names are placed across the columns instead of down the rows, this article is for you. It explains how to reshape your data so it can be imported smoothly into Luca.

Xian Hui

Xian Hui

6 November 2025

Quick answer

How do I import an Excel file with GL names across columns into Luca?

Luca expects each row to be a single GL record with consistent column headers like Account Name, Debit, Credit, or Amount. If your GL names are across columns, use Excel's Power Query to unpivot the columns. Select your data, go to Data, Get and Transform, From Table/Range, select the GL columns, then Transform, Unpivot Columns. Rename the new columns to Account Name and Amount.

GL names across columns

If you prepare your accounts in Excel and your General Ledger (GL) names are placed across the columns instead of down the rows, this article is for you. It explains how to reshape your data so it can be imported smoothly into Luca.

Example Layout

Example layout with GL names across columns

In this layout:

  • Each column header represents a GL account.
  • Each row represents a reporting period or record.

Why it matters

Luca expects data where:

  • Each row is a single GL record (with its account name, amount, and period).
  • The column headers represent consistent field names such as Account Name, Debit, Credit, or Amount.

When GLs are spread across columns, Luca cannot identify which amount belongs to which account. The data needs to be reshaped before import.

How to reshape your data (Power Query method)

You can fix this easily using Excel's Power Query feature:

  1. Select your data range.
  2. Go to Data > Get & Transform > From Table/Range.
  3. In Power Query, select all GL columns.
  4. Choose Transform > Unpivot Columns.
  5. Rename the new columns to:
    • Account Name
    • Amount

After transformation, your data should look like this:

Reshaped layout

This format is Luca-friendly and works best for data import.

Watch the video

We have prepared a short video tutorial showing how this looks and how to fix it.

Frequently asked questions

Related articles