Cleaning data

ZochSteveo

New Member
Joined
Dec 21, 2024
Messages
18
Office Version
  1. 2024
Platform
  1. MacOS
Hi there,

I have been trialling a method to determine which are outliers in my data set.

Currently, I have been using Z-scores to do this. I then see if this absolute value is greater than 3 to give an output of whether or not it is an outlier from the rest of the population.

I also want to return that it is an outlier if its Z score is less than -3.

My current formula, using an example, looks like this:

=IF(ABS(AA2)>3,"YES","NO")

What would I change this to so that it also includes if ABS(AA2)<-3 gives an output?

Many thanks,

Zach
 
What works? your original formula gives the same result.
The formula you suggested. This one - =IF(OR($AA2<-3,$AA2>3),"YES","NO"), I think maybe I got a touch confused. Thank you very much for your help. You have been brilliant. I don't suppose there is a method for highlighting all the results that come back with "YES"
 
Upvote 0
Select your range with the YES/NO then in conditional formatting click Highlight cell rules, click Equal to.. , and in the box that says "Format cells that are equal to.." type "YES" (with no quotes), select your format and click ok
 
Last edited:
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,918
Members
453,766
Latest member
Gskier

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top