Calculation Issues

Calculate Percentage Change After Refreshing Excel Data

Algirdas JasaitisAlgirdas Jasaitis Nov 20, 2026 868 views

Question details

Calculate the percentage change between a refreshed Excel value and its previous value.

Calculate Percentage Change After Refreshing Excel Data
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user refreshes imported data repeatedly and wants to compare each new total with the total before the refresh.
Observed behavior
The refresh overwrites the previous value, leaving nothing for a formula to compare unless that value was saved elsewhere.
Before you start

Identify the cell containing the current total and choose a separate worksheet that the refresh will not overwrite. Wait for any current refresh to finish before saving the value.

Solution 1Recommended

Save the Previous Value Before Each Excel Refresh

Use a separate comparison sheet to preserve the old value and calculate the change after each refresh.

The following example assumes the refreshed total is in cell B2 on a sheet named Data. Replace the sheet name and cell reference if your total is elsewhere.

1
Link to the current total

Create a worksheet named Comparison. In cell C2, enter =Data!B2 to display the current total.

2
Preserve the old value

Before refreshing, copy Comparison!C2, select Comparison!B2, and use Home > Paste > Values. This saves the current number rather than its formula.

3
Refresh the data

Select Data > Refresh All and wait for the refresh to finish. Comparison!C2 should then display the updated total.

4
Calculate the change

In Comparison!D2, enter =IF(OR(B2="",B2=0),"",(C2-B2)/B2). Select D2 and choose Home > Percent Style.

5
Repeat before the next refresh

Before each subsequent refresh, copy C2 and paste it as a value into B2. The formula in D2 will compare that saved value with the next refreshed total.

Save the Previous Value Before Each Excel Refresh
Check the denominator: Percentage change uses the old value as the denominator. An increase from 1,528 to 2,500 is approximately 63.61%; an increase from 2,500 to 3,000 is 20%.
Compare spreadsheet values

Calculate Percentage Changes in WPS Spreadsheet

Use WPS Spreadsheet to save an old total, enter or link to the updated total, and calculate the percentage change with a formula.

  1. 1. Open the workbook: Open WPS Spreadsheet and use Open to select the workbook containing the current total.
  2. 2. Save the old total: On a separate comparison sheet, copy the current total and use Paste Special > Values to place it in B2.
  3. 3. Enter the updated total: Enter the new total in C2, or link C2 to the cell containing the updated value.
  4. 4. Calculate and format the result: In D2, enter =IF(OR(B2="",B2=0),"",(C2-B2)/B2), then select D2 and apply Percentage formatting.
Compare old and updated totals with a percentage formulaOpen and save Microsoft Excel XLSX and XLS filesUse familiar spreadsheet cells and formatting toolsWork with a free office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why can't Excel compare the value after it has been overwritten?

A formula cannot recover an old value that was not stored. Before using Data > Refresh All, copy the current total to a separate cell with Paste > Values, or save it in a history table.

What is the formula for percentage change?

Use =(new value-old value)/old value. For example, if B2 holds the old value and C2 holds the new value, enter =(C2-B2)/B2 and apply Home > Percent Style.

What happens if the previous value is zero?

The standard percentage-change formula would divide by zero. Use =IF(OR(B2="",B2=0),"",(C2-B2)/B2) to leave the result blank when the old value is empty or zero.

Does Power Query automatically keep previous refresh results?

No. A normal Power Query refresh can replace its previous output. To compare refreshes, store each result separately, such as in a history table with an import timestamp, before the old result is overwritten.

Why do my percentages differ from 38.88% and 16.66%?

Those figures use the new total as the denominator. Standard percentage change uses the previous total: 1,528 to 2,500 is about 63.61%, and 2,500 to 3,000 is 20%.