Pinterest Pixel

How to Find Percent Error in Excel

John Michaloudis
When working with data in Excel, I often need to compare an experimental value to a theoretical value.
One of the best ways to measure it is by calculating the percent error.

In this article, I will show you how to calculate Percent Error in Excel.

When working with data in Excel, I often need to compare an experimental value to a theoretical value. One of the best ways to measure it is by calculating the percent error. In this article, I will show you how to calculate Percent Error in Excel.

Key Takeaways:

  • Percent error shows how far a value is from the true value.
  • Use the formula: =ABS(A2 - B2) / ABS(B2) * 100 in Excel.
  • Use the ABS function to convert negative results to positive.
  • Format the result as percentages.
  • Handle zero values to avoid errors.

 

Introduction to Percentage Error

What is Percentage Error?

Percentage error is the difference between the observed value and the true value. This result is expressed as a percentage.

The formula to calculate the percentage error is:

Percent Error = (Observed Value−True Value)/True Value × 100

  • Observed Value – It is the exact number we actually measured.
  • True Value – It is the number we expect

Why Percent Error?

Percent error plays an important role in measuring the reliability of data. Understanding the margin of error is key to gauging the trustworthiness of results. It helps us compare the different datasets. It is a quantifiable way to measure the precision of outcomes against expected values.

 

How to Calculate Percent Error in Excel

Set Up Workbook

STEP 1: In Column A, enter the Observed Value.

how to find percent error

STEP 2: In Column B, enter the True Value.

how to find percent error

STEP 3: Create another Column C for Percent Error.

how to find percent error

The Formula

STEP 1: Click on the first cell under the Percent Error column.

how to find percent error

STEP 2: Enter the Excel formula:

how to find percent error

STEP 3: Press Enter.

Excel will display the percent error for the first entry.

STEP 4: Drag the formula down.

how to find percent error

STEP 5: Go to the Home tab and click on the percentage icon.

how to find percent error

The ABS function will make sure that the percent error is always positive.

 

Tips and Tricks

Handle Zero or Blanks

If the true value is 0, the formula will return an error. The IF function can be used to avoid this error:

=IF(B2=0, “”, ABS(A2 – B2) / ABS(B2) * 100)

This avoids division errors and keeps your sheet clean.

Conditional Formatting

Conditional formatting can be used to highlight cells. It can visualize which values exceed a certain threshold.

STEP 1: Select the percent error results in your column.

how to find percent error

STEP 2: Go to the “Home” tab.

how to find percent error

STEP 3: Click “Conditional Formatting” and select “Color Scales” to apply a gradient of colors.

how to find percent error

Data Validation

Data validation can be used to make sure that the inputs fall within a specified range.

STEP 1: Go to the Data tab.

STEP 2: Select Data Validation.

how to find percent error

 

FAQs

What is percentage error?

It shows the difference between observed and true values as a percentage.

What is the formula for percent error in Excel?

The formula for percent error in Excel is

=ABS((A2-B2)/B2)*100

Why use ABS in the formula?

The ABS formula can convert a negative value to a positive.

Can percent error be negative?

Percent error is always shown as a positive value.

How to calculate 20% in Excel?

To calculate 20% of a number in Excel, use the formula

=number*0.2

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  Quickly Convert Weeks to Years in Excel - Step by Step

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...