Hi, I have a report I would like to make look a bit nicer in Excel. It presently lists a varying number of items per person. So the first person might have 3 lines and the second person 4 lines and the third person 2 lines etc. In excel, instead of having the persons name show up on each line, you can merge them together and center them. So the first person still has 3 lines, but the name shows up once and it shows up in the middle of the 3 lines. Is there a way to do that using PROC Report? In the attached spreadsheet, the top table is an idea of what I'm producing and the bottom table is what I'd like to produce. This is the code I'm using to create the colors... compute nurse_analyst; if nurse_analyst in (&nurses.) then call define(_row_,"style","style=[background=lightgrey]"); if nurse_analyst = ' ' and _break_ ne "_RBREAK_" then do; mr_code='Total'; call define(_row_,"style","style=[background=lightblue]"); end; if nurse_analyst = ' ' and _break_ = "_RBREAK_" then do; mr_code='Grand Total'; call define(_row_,"style","style=[background=lightred]"); end; endcomp; I re-typed this in so there could be typos (sorry in advance) but the actual code does work. Thanks!
... View more