BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm using ODS PDF to generate the report.Now I only want to merge the cell with another one whose value is empty.
The DEFINE COLUMN Statement of TEMPLATE Procedure can merge two columns,but how can I merge two designated cells?
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
I'm not sure what you want to do. When you define a table template or when you use PROC REPORT or PROC TABULATE, you can create column headers that are essentially "merged" or that span multiple header columns.

As for the data cells themselves, ODS generally expects that every report row will have the same number of data cells. So, for example, when you use MERGE=ON with a custom table template, you will notice that EVERY cell on a row is merged with the cell to its right. That's because every ODS wants every row to have the same number of data cells in the columns.

It sounds to me like you want to only have certain cells on selected rows merged?? I don't believe this is possible.

cynthia
Duong
Obsidian | Level 7
Hi Jackywu

Some one asked this question before see this link.

http://support.sas.com/forums/message.jspa?messageID=8740#8740


Regards
Duong

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1600 views
  • 0 likes
  • 3 in conversation