How to Calculate Percentage Change in Excel When Starting Value is Zero
Question details
The user needs to calculate a percentage change between two numbers where the starting value is zero, while avoiding the standard division error.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating growth rates, budget variances, or financial metrics where the historical or baseline data happens to be zero.
- Observed behavior
- Standard percentage-change formulas like (New-Old)/Old or New/Old-1 return a #DIV/0! error because division by zero is mathematically undefined.
Ensure your target cells are configured with 'Percentage' formatting so the formula output displays as a proper percentage rather than a raw decimal.
Use a Nested IF Formula for 100% or 0% Fallbacks
This method logically tests if the starting value is zero. It returns 100% if the new value grew from zero, 0% if both values are zero, and calculates normally otherwise.
By outputting numeric values (like 1 for 100% and 0 for 0%) rather than text strings, your data remains fully compatible with pivot tables and charts.
Click on the cell where you want the percentage change result to appear.
Type the formula: =IF(E2=0, IF(F2=0, 0, 1), (F2-E2)/E2). Replace E2 with your starting value cell and F2 with your new value cell.
Press Enter to calculate the result. Then, go to the Home tab and click the '%' icon in the Number formatting group.

Use IFERROR to Display Custom Text
If a zero denominator makes the calculation strictly undefined according to your reporting rules, use this formula to return descriptive text.
Calculate Percentage Change Flawlessly with WPS Spreadsheet
WPS Spreadsheet fully supports advanced logical functions like IF and IFERROR, making it easy to handle complex financial calculations and zero-denominator issues efficiently.
- 1. Open your dataset: Launch WPS Spreadsheet and open the document containing your starting and new values.
- 2. Input the logic formula: Click the desired result cell and type your IF or IFERROR formula to handle the zero starting values.
- 3. Format as percentage: Navigate to the Home tab and click the Percentage icon to instantly format the numeric outputs.
- 4. Apply to all rows: Drag the fill handle at the bottom-right corner of the cell downwards to apply the formula to the rest of your data.

Frequently Asked Questions
Why do I get a #DIV/0! error when calculating percentage change?
This error occurs because dividing any number by zero is mathematically undefined. Excel displays #DIV/0! to indicate that the denominator (the starting value) in your formula is exactly zero or empty.
Can I format the formula output as '0.0%' directly in the text string?
While you can output text like '0.0%' in your IF formula, it is highly recommended to output the numeric value 0 or 1 and apply Excel's built-in Percentage formatting. This keeps the data numerical, allowing you to safely use it in charts or further spreadsheet calculations.
How do I hide the #DIV/0! error without changing the math?
You can wrap your existing formula in an IFERROR function, such as =IFERROR((New-Old)/Old, ""). This will leave the cell completely blank whenever a division by zero error occurs, keeping your worksheet looking clean.




