You could use a formula with something like this:
If(Row() == 1,
specs = :NPN1 << Get Property("Spec Limits");
lsl = Try(specs["LSL"], .);
usl = Try(specs["USL"], .);
val = .;
);
val = IfMZ(:NPN1 < lsl | :NPN1 > usl, 1, 0);
val;
but if you have many columns to check, I think this is easier to do on tall/stacked data in which you can have columns such as parameter, value, lsl and usl. Then with those you can easily create a formula for flagging.
Some platforms also allow you to select and color out of spec values, but these might work only on one column at a time.
-Jarmo