Power Query Problems

How to Split Actual and Plan Data into Columns in Power Query

Muhammad TalhaMuhammad Talha Nov 4, 2026 869 views

Question details

The user wants to separate 'Actual' and 'Plan' data currently mixed in a single column into two distinct columns using Power Query.

How to Split Actual and Plan Data into Columns in Power Query
Product
Excel
Device & OS
not provided
Scenario
Transforming financial or project status data where 'Actual' and 'Plan' are recorded as row values rather than column headers.
Observed behavior
Actual and Plan status values are located in one column alongside corresponding amounts, requiring restructuring to display them as distinct column headings.
Before you start

Before beginning, ensure your source table is loaded into the Power Query Editor and identify exactly which column contains your numerical amounts to be aggregated.

Solution 1Recommended

Use the Pivot Column Feature in Power Query

The correct method to transform row values like 'Actual' and 'Plan' into their own columns is by using the Pivot Column tool under the Transform tab.

When 'Actual' and 'Plan' are values in one column and another column holds the corresponding financial amounts, pivoting is necessary. Splitting a column by delimiter will not work for this layout, as that feature separates text strings within individual cells rather than restructuring table dimensions.

1
Select the Status Column

In the Power Query Editor, click on the column header of the status column that contains the 'Actual' and 'Plan' values to highlight it.

2
Choose Pivot Column

Navigate to the Transform tab on the top ribbon and click on 'Pivot Column'.

3
Select the Values Column

In the Pivot Column dialog box, select your numerical amount column from the 'Values Column' dropdown menu.

4
Set Aggregation Method

Click on 'Advanced options' to choose the appropriate aggregation method (such as Sum or Don't Aggregate) based on your data structure, then click OK.

Data Transformation Complete: Your 'Actual' and 'Plan' values should now appear as two separate column headers with the respective amounts populated underneath.
WPS Spreadsheet Data Tools

Easily Reshape Actual and Plan Data with WPS Office

If you don't want to use complex Power Query transformations, you can easily restructure your financial data to separate Actual and Plan values into distinct columns using the intuitive Pivot Table feature in WPS Spreadsheet.

  1. 1. Insert a Pivot Table: Open your dataset in WPS Spreadsheet, select your entire data range, go to the Insert tab, and click on Pivot Table.
  2. 2. Set Your Row Labels: In the Pivot Table pane, drag your main identifier (like Project Name or Account) into the Rows area.
  3. 3. Create Actual and Plan Columns: Drag the status column containing your 'Actual' and 'Plan' labels into the Columns area to create separate headings.
  4. 4. Aggregate the Amounts: Drag your amount column into the Values area. WPS will automatically calculate and align the figures under the correct Actual and Plan columns.
Completely free to download and useFully compatible with Microsoft Excel (.xlsx) file formatsCreate Pivot Tables in seconds without writing codeEasily drag and drop fields to reshape complex data structures
microsoft office alternative - wps office

Frequently Asked Questions

Why do I get errors when pivoting Actual and Plan columns?

Errors typically occur if there are multiple identical rows without a valid aggregation method. To fix this, click 'Advanced options' in the Pivot Column dialog box and ensure you choose an aggregation like 'Sum' instead of 'Don't Aggregate'.

Can I use Split Column instead of Pivot Column to separate this data?

No. The Split Column feature is designed to divide text within a single cell based on a delimiter (such as a comma). To change row values into column headers, you must use the Pivot Column feature.

What if I have multiple amount columns for Budget and Actual data?

Power Query's Pivot Column tool only allows you to select one Values Column at a time. To solve this, you first need to unpivot your multiple amount columns into a single column, and then pivot the status column containing your Budget and Actual labels.