Here is my code.
\begin{tabular}{*{5}{|c}|}
\hline
\multirow{3}{*}{c|}{Independent Variable} & \multicolumn{2}{c|}{Chi-Square Results} \\
\cline{2-5}
& \multirow{3}{c}{Gender newline\ Female & newline\ Male}
& \multicolumn{2}{c|}{Alcohol Use} & \multicolumn{2}{c|}{Chi-Square Value} & \multicolumn{2}{c|}{P-Value} & \multicolumn{2}{c|}{Sig
} \\
\cline{2-5}
This the code error that I am receiving.
Missing number, treated as zero.
<to be read again>
l.204 ...}{Gender newline\ Female & newline\ Male}
I am trying to make this table.
What should I change to make the table above.Is there an easier way to code this?
\newline
is the command.\&
for the literal ampersand.\multirow{3}{c}{Gender newline\ Female \& newline\ Male}
(But, of course, you may not want 'newline' literally, as @Sigur says.)