Highlighting extreme numbers in a range

graemeal

Active Member
Joined
May 17, 2007
Messages
316
Platform
  1. Windows
I have 10 numbers across a row from C to L and 2000 rows deep. The numbers are sourced from a live outside source daily, copied and pasted into the spread sheet each day. As in first day column C, next day D and so one until I get 10 or more columns of numbers.

After 10 or more days I am trying to get an average figure of those 10. The problem is sometimes the number can be zero for say 3 days in a row or one huge figure which upsets the average. Is there some way to highlight the cells that are extremely out of whack from the rest so I can adjust them. I need a rough average that ignores extremes

Hard to explain but say the numbers are as follows across the 10 columns

12,000 8,000 15,000 0 0 0 600,000 7000 16000 11,000

The rough average would be about 10,000 or 11,000 if it was not for the zero in 3 columns and the 600,000 in another. So is there some way to highlight with maybe some formula and maybe CF to tell me what cells are way off the mark?

I am guessing maybe to have an average in column M then have CF formula running down each column highlighting cells that are more or less than say 4 times the average figure.

Is there a better way? If not what would the CF formula asking IF column C is greater or less than 4 times colomn M

Thanks

Win 7 XL 2007
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I would use Standard Deviations e.g.

=if(abs(m1-i1)>3*stdev(m1:m10),"Error","")
 
Upvote 0
Thank you kindly. Seems to work well although it does not highlight when there is a zero in a cell.

I was also after each indivual cell to be highlighted as i am looking at checking 20,000 cells

Just wondering what the formulas would be if I ran CF formula's down columns from C to L

I tried the below but obviously the "red" second one is incorrect as it highlights most?

Trying to hightlight each cell if the figure is 4 times greater or 4 times less than the average figure in M


=C2>(M2*3) GREEN

=C2<(M2*3) RED

Thanks
 
Upvote 0
not sure if i should reply to you or start a new post?

I am still trying to understand Standard Deviations. it seems that it is just what I am looking for. messing around with that formula you gave seems I may have explained ir badly =if(abs(m1-i1)>3*stdev(m1:m10),"Error","")

so hopfully more clear this time:

Say I have a row of 30 numbers A:J with an average figure of that range in cell K, I just to know if any numbers between A:J are say 5 times more than the average figure in K

And preferably if any are less than 5 times the average figure as well.

Thanks If I should start a new post just let me know

Regards
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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