Hello
I have summary data that I need to compare against control limits.
There are 2 type of control limits.
I want to color X1909 X1908 X1907 X1906 by following rules:
if value in cell is greater than UCL1 and greater than UCL2 then red color
if value in cell is greater than UCL1 and not greater than UCL2 then pink color
if value in cell is greater than UCL2 and not greater than UCL1 then purple color.
The colors should appear in proc print or proc report.
What is the way to do it please ?
data tbl;
input No $ X1909 X1908 X1907 X1906 UCL1 UCL2;
cards;
a 4 3 6 5.1 5 5.2
b 3 2 2 4.6 4.5 4.9
c 5 5 5 5 7 8
;
run;