% Sebastian Pipping <sebastian@pipping.org>
% Public Domain, 2009-11-13

\documentclass{scrartcl}
\usepackage{multirow}
\usepackage{makecell}

\begin{document}

\noindent
\begin{tabular}{|c|c|c|}
11 & 12 & 13 \\
\hline
\multirowcell{3}[0cm][c]{X\\Y\\~} & 22 & 23 \\
\cline{2-3}
~ & 32 & 33 \\
\cline{2-3}
~ & 42 & 43 \\
\hline
51 & 52 & 53 \\
\end{tabular}\\[7ex]

\noindent
\begin{tabular}{|c|c|c|}
11 & 12 & 13 \\
\hline
\multirowcell{3}[0cm][c]{X\\Y} & 22 & 23 \\
\cline{2-3}
~ & 32 & 33 \\
\cline{2-3}
~ & 42 & 43 \\
\hline
51 & 52 & 53 \\
\end{tabular}\\[7ex]

\noindent
\begin{tabular}{|c|c|c|}
11 & 12 & 13 \\
\hline
\multirowcell{3}[0cm][c]{~\\X\\Y} & 22 & 23 \\
\cline{2-3}
~ & 32 & 33 \\
\cline{2-3}
~ & 42 & 43 \\
\hline
51 & 52 & 53 \\
\end{tabular}\\[7ex]


\noindent
\begin{tabular}{|c|c|c|}
11 & 12 & 13 \\
\hline
\begin{tabular}{@{}c@{}}X\\Y\\\end{tabular} & 22 & 23 \\
\hline
31 & 32 & 33 \\
\end{tabular}\\[7ex]


\noindent
\begin{tabular}{|c|c|c|}
11 & 12 & 13 \\
\hline
\multicolumn{2}{|l|}{X} & 23 \\
\hline
\multicolumn{2}{|c|}{X} & 33 \\
\hline
\multicolumn{2}{|r|}{X} & 43 \\
\hline
51 & 52 & 53 \\
\end{tabular}


\end{document}
