logo
search
Data Import & Export

How to Automatically Update Excel Data from Microsoft Project

Steve KSteve K Oct 12, 2026 869 views

Question details

The user wants to retrieve and automatically update Microsoft Project task details in an Excel spreadsheet using milestone IDs.

How to Automatically Update Excel Data from Microsoft Project
Product
Microsoft Excel, Microsoft Project
Device & OS
not provided
Scenario
Tracking project milestones and updating related task details, such as task names, baseline finish dates, and RAG status, directly in Excel.
Observed behavior
Excel needs a method to use milestone IDs as lookup values to fetch and seamlessly refresh data originating from Microsoft Project.
Before you start

Ensure you have saved your Microsoft Project file in an accessible location and have a clear, formatted list of milestone IDs ready in your Excel workbook.

Solution 1Recommended

Use Power Query to Connect Project Data to Excel

Power Query provides a robust, refreshable connection between your Project file and Excel, allowing automated updates without writing VBA code.

This method creates a live link to the Microsoft Project data (if exported as XML or stored on Project Online). Whenever the source project is updated, Excel can fetch the latest task names and RAG statuses.

1
Launch Get Data

Open your Excel workbook, navigate to the Data tab on the ribbon, and click on 'Get Data' > 'From File' > 'From XML' (or 'From OData Feed' if you are using Project Online).

2
Select the Source File

Locate and select your Microsoft Project file or enter your Project Web App URL, then click 'Import'.

3
Transform the Data

In the Navigator window, select the tables containing your task details and milestone IDs, then click 'Transform Data' to open the Power Query Editor.

4
Merge and Load

Filter the required columns (like baseline finish dates and RAG status), merge queries using the milestone ID as the matching column, and click 'Close & Load' to output the data into your Excel worksheet.

Use Power Query to Connect Project Data to Excel
Automated Refresh: You can right-click the imported table in Excel and select 'Refresh', or configure the connection properties to refresh the data automatically every time the workbook is opened.

Manage and Track Project Data with WPS Spreadsheet

WPS Spreadsheet provides powerful data analysis tools, including advanced lookup functions like VLOOKUP and XLOOKUP, allowing you to easily match milestone IDs and track project statuses. It is fully compatible with Microsoft Excel formats.

  1. 1. Export Data: Export your Microsoft Project data as a CSV or Excel file.
  2. 2. Open WPS Spreadsheet: Open WPS Office and create a new WPS Spreadsheet or open your existing project tracker.
  3. 3. Import and Organize: Import the Project data into a dedicated worksheet via the Data tab.
  4. 4. Apply Lookups: Use VLOOKUP or XLOOKUP functions to automatically pull task names and RAG statuses based on milestone IDs.
Fully compatible with Microsoft Excel (.xlsx) formatsSupports advanced functions like VLOOKUP, XLOOKUP, and INDEX/MATCHFree and lightweight alternative for project data managementBuilt-in data handling tools for external CSV and spreadsheet imports
QA img-9

Frequently Asked Questions

Can I link Project Online directly to Excel?

Yes, if you are using Project Online, you can use Excel's 'Get Data' feature to connect via an OData feed. You will need your Project Web App (PWA) URL to establish the live connection.

Why is my VLOOKUP returning an #N/A error for milestone IDs?

The #N/A error usually occurs if the milestone ID format in Excel doesn't perfectly match the format exported from Microsoft Project (e.g., one is formatted as text and the other as a number), or if there are hidden trailing spaces.

How can I automate the data refresh process in Excel?

If you used Power Query or a data connection, go to the Data tab, click 'Queries & Connections', right-click your connection, select 'Properties', and set it to 'Refresh data when opening the file' or enable a background refresh timer.

What is a RAG status in project management?

RAG stands for Red, Amber, Green. It is a visual project management indicator used to communicate the health or status of tasks and milestones, where Green means on track, Amber implies caution or risk, and Red indicates a delay or severe issue.