BookmarkSubscribeRSS Feed
Number7
Calcite | Level 5

Hi.

I have just started learning SAS eg. What a great tool!!! 

currently on v9.4.

right now I'm working on a work schedule issue.

As a test-case I'm trying to replicate something I used to do in excel.

 

So this is the case.

 

INPUT:

prompts:

Schedule start (01.01.2018)

Schedule end (31.01.2018)

 

dataset:

 

 

NAME

ROLE

FROM

TO

LOCATION

TYPE

James

A

01.01.2018

09.01.2018

1A

NORMAL

James

A

19.01.2018

20.01.2018

1B

EXTRA

Anna

B

10.01.2018

18.01.2018

1C

NORMAL

Anna

B

22.01.2018

30.01.2018

1B

NORMAL

Peter

C

04.01.2018

13.01.2018

1A

NORMAL

Peter

C

18.01.2018

23.01.2018

1C

NORMAL

Kath

D

15.01.2018

15.01.2018

1C

EXTRA

 

OUTPUT:

 

se attached file: ScheduleOUTPUT.pdf

 

----

 

Is this possible?

If so, where to start?

 

Thank you!

 

Br,

Bjoern

2 REPLIES 2
Reeza
Super User

Yes it's possible. I would start with PROC REPORT and picking a destination, ie do you want PDF or XLSX file. 

 

Highlighting/traffic lighting is very well documented across the forum here or on lexjansen.com you'll find lots of examples.

 

Number7
Calcite | Level 5

Hi. thanks for a quick reply.

I guess excel is what I need.

or PDF, the easiest way?.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1567 views
  • 0 likes
  • 2 in conversation