BookmarkSubscribeRSS Feed
TashaBee
Fluorite | Level 6

Is there a way to adjust how the layout of the tables in Excel?
This is a snapshot of an Excel file that I used to with the Summary Table Task and the tables are placed anywhere in the worksheet, some with numerous pages.

imgae1.PNG

image2.PNG

2 REPLIES 2
ballardw
Super User

Which version of EG?

You may need to find the code generated by the tasks and modify it as the more control over output the more custom programming not available through wizards and such is required.

If you post the code generated we might be able to provide some help.

A possible simple item MIGHT be setting that centering of output is off so all the tables are left justified (start in column 1)

TashaBee
Fluorite | Level 6

I am using SAS Add-in for Excel. Unfortunately my original file broke and is not working so I did a quick remake.

PROC TABULATE
DATA=_TEMP.ce_nursing_assistant_course

;

VAR CE_STUDENTS;
CLASS COLLEGE_NM / ORDER=UNFORMATTED MISSING;
CLASS REPORTING_YEAR / ORDER=UNFORMATTED MISSING;
CLASS MASTER_COURSE_LIST_ID / ORDER=UNFORMATTED MISSING;
TABLE /* Page Dimension */
MASTER_COURSE_LIST_ID,
/* Row Dimension */
COLLEGE_NM
ALL={LABEL="Total"},
/* Column Dimension */
REPORTING_YEAR*
  CE_STUDENTS*
    Sum   ;
;

RUN;

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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