BookmarkSubscribeRSS Feed
prsr
Fluorite | Level 6

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
Fluorite | Level 6

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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 573 views
  • 1 like
  • 4 in conversation