[Tex/LaTex] how to make a table contain multiple rows in some cells

multirowsharelatextables

I am trying to do a table like the one in the attached figure

enter image description here

I am using:

\begin{table} 

\small

    \begin{tabular}{|p{1.1cm}|p{2.3cm}|p{2cm}|p{3.2cm}|p{1.5cm}| p{1.1cm}|}

\end {table}

but failed to do as some cell needs to be divided into multiple rows. Could any one help in this, would be appreciated

Best Answer

Is this what you intend ? --

\documentclass{article}

\begin{document}

\begin{table} \small%
\begin{tabular}{|p{1.1cm}|p{2.3cm}|p{2cm}|p{3.2cm}|p{1.5cm}| p{1.1cm}|}
\hline
Group & Strategies & Data & Evaluated \\
\hline
Baseline & First strategy & Data 1 & Yes \\
\cline{2-2} \cline{4-4}
                 & Second strategy & Data 2 & No \\
\hline
Solution & First solution & Data 1 & Yes \\
                 &                & Data 2 &  \\
\cline{2-4}
                 & Second solution & Data 1 & Yes \\
                 &                & Data 2 &  \\
                 &                & Data 3 &  \\
\cline{2-4}
                 & Third solution & Data 1 & No \\
                 &                & Data 2 &  \\
                 &                & Data 3 &  \\
\hline
\end{tabular}
\end{table}

\end{document}

most probably producing a table that looks like this...

enter image description here

Related Question