Help using Base SAS procedures

Proc report-underline or highlight every 2nd row

Reply
Valued Guide
Posts: 860

Proc report-underline or highlight every 2nd row

Hello,

I have an output that I would like to seperate every 2nd row.  Either with an underline or highlighting.  I'm not married to proc report either.  If there is another procedure where it is easier I'm glad to use it.  I've attached the output, hopefully that will help you understand what I'm trying to do.

Thanks in advance,

Mark

Attachment
Super User
Posts: 19,847

Re: Proc report-underline or highlight every 2nd row

Posted in reply to Steelers_In_DC

Its called "Banding"

http://support.sas.com/resources/papers/proceedings13/366-2013.pdf

Last example in this paper explains how to do it in Proc Tabulate.

Valued Guide
Posts: 860

Re: Proc report-underline or highlight every 2nd row

Is there a way to do this for a large dataset without listing the variable name in a proc format?  I tried to use the mod function even/odd but that isn't working.

Super User
Posts: 19,847

Re: Proc report-underline or highlight every 2nd row

Posted in reply to Steelers_In_DC
Respected Advisor
Posts: 3,799

Re: Proc report-underline or highlight every 2nd row

Posted in reply to Steelers_In_DC

This example from a few days ago should help.

https://communities.sas.com/message/182966#182966

Ask a Question
Discussion stats
  • 4 replies
  • 179 views
  • 0 likes
  • 3 in conversation