I am trying to generate a table that has the following structure:
The problem are the red Xs - I want the text in the cell to wrap, and the cell height to adjust automatically. I tried using a minipage, adjusting the size, parbox etc. It can't seem to autosize rows and wrap at the same time. The text will always overflow to the next rows once the two multirows are full.
\documentclass[12pt,a4paper,titlepage]{article}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{lscape}
\usepackage{caption}
\begin{document}
\begin{landscape}
\captionsetup{format=plain}
\centering
\begin{tabular}{c|c c c |p{\linewidth}}
\multirow{3}{*}{} & \multicolumn{3}{c}{Range of} & \multirow{2}{*}{} \\
& parameter1 & param 2 & param 3 & \\ \hline
\multirow{2}{*}{1} &value & value & value & \multirow{3}{*}{\begin{minipage}{15cm}pretty long description that wraps over more than two lines pretty long description that wraps over more than two linespretty long description that wraps over more than two linespretty long description that wraps over more than two linespretty long description that wraps over more than two lines\end{minipage}} \\
& value & value & value & \\ \hline
\end{tabular}
\captionof{table}{caption caption caption}
\end{landscape}
\end{document}