[Tex/LaTex] Text wrapping in multirow columns

multirowtables

How do I make the long multirow cell wrap its text? Ideally I'd like to be able to specify a width for the entire column. The text should also be centered both vertically and horizontally.

\begin{tabular}{|c|c|c|}
    \hline
    \multirow{2}{*}{looooooong cell} & cell1 & cell2 \\ \cline{2-3}
     & cell3 & cell4 \\ \hline
\end{tabular}

enter image description here

EDIT: Just found a solution for a single cell (answered below). But I'm still wondering if there's any way to do it for an entire column. I'd rather not have to do this for each individual cell.

Best Answer

\multirow would linewrap if you used the length of the box instead of * in

\multirow{3}{*}.

So,

\multirow{2}{2cm}{\centering looooooong cell}}
Related Question