Using MS Office Professional Plus 2013
I have a table with data grouped by item #. I would like to use the formula below on each group with the ability to copy the formula down, and have the QUARTILE function reference each group separately.
=IF(OR(C2>(QUARTILE(C$2:C$13,3)+(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1)))),C2<(QUARTILE(C$2:C$13,1)-(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1))))),"Outlier","")
The formula above would be for the first group of items. There is a blank row between each group. The next group should have the same formula, but the QUARTILE array would change:
=IF(OR(C2>(QUARTILE(C$15:C$20,3)+(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1)))) . . .
I assume some form of dynamic named range would be used in place of the QUARTILE array.
The number of groups, and therefore the number of rows can vary.
The number or rows per group will vary.
Sample Data:
The formula above would be in column D.
(the data is fabricated for example of layout and likely doesn't show real intended formula results.)
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Item#[/TD]
[TD]Description[/TD]
[TD]Percent[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]7.36%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]8.45%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]36.65%[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]14.10[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel
[/TD]
[TD="align: center"]27.56%[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel[/TD]
[TD="align: center"]12.07%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel[/TD]
[TD="align: center"]11.47%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]77456[/TD]
[TD]Frame[/TD]
[TD="align: center"]6.25%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]77456[/TD]
[TD]Frame[/TD]
[TD="align: center"]5.76%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a table with data grouped by item #. I would like to use the formula below on each group with the ability to copy the formula down, and have the QUARTILE function reference each group separately.
=IF(OR(C2>(QUARTILE(C$2:C$13,3)+(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1)))),C2<(QUARTILE(C$2:C$13,1)-(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1))))),"Outlier","")
The formula above would be for the first group of items. There is a blank row between each group. The next group should have the same formula, but the QUARTILE array would change:
=IF(OR(C2>(QUARTILE(C$15:C$20,3)+(1.5*(QUARTILE(C$2:C$13,3)-QUARTILE(C$2:C$13,1)))) . . .
I assume some form of dynamic named range would be used in place of the QUARTILE array.
The number of groups, and therefore the number of rows can vary.
The number or rows per group will vary.
Sample Data:
The formula above would be in column D.
(the data is fabricated for example of layout and likely doesn't show real intended formula results.)
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Item#[/TD]
[TD]Description[/TD]
[TD]Percent[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]7.36%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]8.45%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]36.65%[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]84838[/TD]
[TD]Bike Seat[/TD]
[TD="align: center"]14.10[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel
[/TD]
[TD="align: center"]27.56%[/TD]
[TD]Outlier[/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel[/TD]
[TD="align: center"]12.07%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]63233[/TD]
[TD]Front Wheel[/TD]
[TD="align: center"]11.47%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]77456[/TD]
[TD]Frame[/TD]
[TD="align: center"]6.25%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]77456[/TD]
[TD]Frame[/TD]
[TD="align: center"]5.76%[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]