0

After attempts with little success, I can't seem to achieve the table depicted by the image below. The image demonstrates the format I wish to achieve, to which I will add more columns and rows to eventually. If someone can point me in the right direction, that would be highly appreciated!

enter image description here

1
  • Pretty simple, because all text is on one horitontal line. Use \multicolumn, that's all ...
    – user2478
    Commented Nov 8, 2018 at 12:24

1 Answer 1

3

Enjoy (though all those rules don't look good):

\documentclass[]{article}

\newcommand\mc{\multicolumn}

\begin{document}
\begin{tabular}[]{|ll|*6{c|}}
  \cline{3-8}
  \mc{1}{l}{}&&\mc{3}{|c|}{Col 1}&\mc{3}{c|}{Col 2}\\
  \cline{3-8}
  \mc{1}{l}{}&& \mc{1}{c}{C} & \mc{1}{c}{NC} & \mc{1}{c|}{SR} 
              & \mc{1}{c}{C} & \mc{1}{c}{NC} & \mc{1}{c|}{SR} \\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 1& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 2& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
    & Ex 1 &&&&&&\\
  \cline{3-8}
  Row 3& Ex 2 &&&&&&\\
  \cline{3-8}
    & Ex 3 &&&&&&\\
  \hline
\end{tabular}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .