BookmarkSubscribeRSS Feed
prsr
Calcite | Level 5

Hi there, 

I am using ods excel along with proc report. Is there a way to achieve this using ods excel. 

The equivalent of excel is here. (In excel select columns that need to be grouped, then go to DATA menu and then group sub menu.

prsr_0-1715272568184.png

Thanks in advance

RP

4 REPLIES 4
ballardw
Super User

As a minimum include your current ODS Excel and Proc report code and indicate which VARIABLES in the report are supposed to be "grouped".

 

I don't use that feature in Excel, so what is the purpose of grouping the columns in Excel?

PaigeMiller
Diamond | Level 26

Open a brand new empty Excel spreadsheet, then type in what you want PROC REPORT to look like, using actual or fake variable names, showing a few rows of actual or fake data, merging columns or cells in Excel as needed to display the look you want. Then make a screen capture of this Excel file so we can see it too — do not attach files, provide the screen capture via the "Insert Photos" icon.

Capture.PNG

--
Paige Miller
prsr
Calcite | Level 5

Hi Paige, 

Sorry for the confusion and not providing sufficient information. Pls see if the attached explains the problem.

prsr_0-1715285536249.png

Thanks, 

prsr

 

Chevell_sas
SAS Employee

ODS Excel doesn't have the capability of creating grouped data currently. This has been added as a suggested feature.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 198 views
  • 1 like
  • 4 in conversation