yuthika
Technical User
- Nov 25, 2008
- 5
Hi alL,
I am reposting my question rephrased as no one has answered yet. After going through few posts on proc report in the forum i realized i cannot color particular cell in table but luckily it can be done using ods excelxp tagset.
I started using sas recently so i really dont have any clue how it works. Some example codes would help me understand better. I wrote a simple example of the code;
data XYZ;
input alg ref count;
datalines;
1 1 12
1 2 11
1 3 4
2 1 3
3 2 19
2 3 10 ;
run;
proc report data = xyz spilt ='\'
style(report) = [rules=all
cellspacing=0
bordercolor=black];
col alg ref,(count);
define alg / group;
define ref/ across;
define count/ sum '\';
run;
I cannot compute any thing on count but i need to color the cell with similar alg amd ref . so here my cell holding 12 as count will be colored and rest will have missing values but cells has to be colored giving a diagonal look.
Please help.
( I came across few posts answered by chris pretty close to what i need. Thankyou chris)
I am reposting my question rephrased as no one has answered yet. After going through few posts on proc report in the forum i realized i cannot color particular cell in table but luckily it can be done using ods excelxp tagset.
I started using sas recently so i really dont have any clue how it works. Some example codes would help me understand better. I wrote a simple example of the code;
data XYZ;
input alg ref count;
datalines;
1 1 12
1 2 11
1 3 4
2 1 3
3 2 19
2 3 10 ;
run;
proc report data = xyz spilt ='\'
style(report) = [rules=all
cellspacing=0
bordercolor=black];
col alg ref,(count);
define alg / group;
define ref/ across;
define count/ sum '\';
run;
I cannot compute any thing on count but i need to color the cell with similar alg amd ref . so here my cell holding 12 as count will be colored and rest will have missing values but cells has to be colored giving a diagonal look.
Please help.
( I came across few posts answered by chris pretty close to what i need. Thankyou chris)