How to Remove Outliers in an Excel Scatter Plot – 3 Methods

 

This is the sample dataset.


Method 1 – Removing Outliers Manually in an Excel Scatter Plot

Removing Outliers Manually in Excel Scatter Plot

Steps:

  • Press and hold CTRL key and click the values one by one.
  • Right-click and select Clear Contents or press DELETE.

Removing Outliers Manually in Excel Scatter Plot

As the values were deleted, the graph became discontinued.

Removing Outliers Manually in Excel Scatter Plot

Read More: How to Show Outliers in Excel Graph


Method 2 – Using the Excel IF, AND, ABS, and NA Functions to delete Outliers in Scatter Plot

Use the IF, AND, ABS, and NA functions

Column D was added.

Using Excel IF, AND, ABS, and NA Functions to Erase Outliers in Scatter Plot

Steps:

  • Enter the following formula in D6.
=IF(AND(ABS(C6-C5)>$D$14,ABS(C6-C7)>$D$14),NA(),C6)
  • Press Enter to see the output.

Using Excel IF, AND, ABS, and NA Functions to Erase Outliers in Scatter Plot

Formula Breakdown:

  • ABS(C6-C7)>$D$14
    The ABS function finds the absolute difference between C6 and C7. It checks whether the output is greater than the specified difference, which will return:
    FALSE
  • ABS(C6-C5)>$D$14
    It finds the absolute difference between C6 and C5. It checks whether the output is greater than the specified difference, which will return:
    TRUE
  • AND(ABS(C6-C5)>$D$14,ABS(C6-C7)>$D$14)
    The AND function combines the outputs and returns:
    FALSE
  • IF(AND(ABS(C6-C5)>$D$14,ABS(C6-C7)>$D$14),NA(),C6)
    The IF function performs the logical test. If the previous outputs return TRUE, it will display the #N/A error. If FALSE, it will show the exact value of C6. For D6, it will return:
    33

  • Drag down the Fill Handle to see the result in the rest of the cells.

Using Excel IF, AND, ABS, and NA Functions to Erase Outliers in Scatter Plot

The most deviated values are removed.

  • Select the new column and create a Scatter Plot chart

Outliers are removed from the Scatter Plot chart.

Read More: How to Calculate Outliers in Excel


Method 3 – Using the MIN Function to Delete Outliers in a Scatter Plot

Use the MIN function.

Steps:

  • In D5, enter the following formula:
=MIN(C5,35)
  • Press Enter to see the result.

  • Drag down the Fill Handle to see the result in the rest of the cells.

Using MIN Function to Delete Outliers in Excel Scatter Plot

  • Insert a Scatter Plot chart for the new column and you will get a smooth and continuous chart:


Download Practice Workbook

Download the free Excel workbook.

 


Related Articles


<< Go Back to Outliers in Excel | Excel for Statistics | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Sourov Hossain Mithun
Md. Sourov Hossain Mithun

Md. Sourov Hossain Mithun, an Excel and VBA Content Developer at Softeko's ExcelDemy project, joined in October 2021. Holding a Naval Architecture & Marine Engineering degree from BUET, Mithun showcases expertise during his two-year tenure. With over 200 published articles on Excel topics, he earned a promotion to Team Leader, excelling in leading diverse teams. Mithun's passion extends to Advanced Excel, Excel VBA, Data Analysis, and Python programming, contributing significantly to the innovative and dynamic environment of ExcelDemy... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo