The first and second row has an additional &
. TeX throws an error message and makes a new row as error recovery:
! Extra alignment tab has been changed to \cr.
<template> \endtemplate
l.9 & \multicolumn{4}{|c|}{Display Format}&
\\ \cline{2-5}
Fixed example including Mico's fix:
\documentclass{article}
\begin{document}
\renewcommand{\arraystretch}{1.3}
\small
\begin{table}[ht]
\begin{tabular}{|c|c|c|c|c|}
\hline
& \multicolumn{4}{c|}{Display Format}\\ \cline{2-5}
& \multicolumn{2}{c|}{High information density}& \multicolumn{2}{c|}{Low information density}\\ \hline
Cookie type & Noticeable& Non-noticeable& Noticeable& Non-noticeable\\ \hline
1\textsuperscript{st} &Group 1&Group 2& Group 3&Group 4\\ \hline
1\textsuperscript{st}/3\textsuperscript{rd}&Group 5& Group 6&Group 7&Group 8\\ \hline
\end{tabular}
\caption{Number of respondents per treatment}
\label{table:1}
\end{table}
\end{document}
BTW, \small
is set outside of the table
environment. Thus it does not change the font size inside, because floating environments usually reset the font at the beginning.
\documentclass{article}
\begin{document}
\begin{table}[ht]
\small
\begin{tabular}{|c|c|c|c|c|}
\hline
& \multicolumn{4}{c|}{Display Format} \\ \cline{2-5}
& \multicolumn{2}{c|}{High information density}& \multicolumn{2}{c|}{Low information density}\\ \hline
Cookie type & Noticeable& Non-noticeable& Noticeable& Non-noticeable\\ \hline
1\textsuperscript{st} &Group 1&Group 2& Group 3&Group 4\\ \hline
1\textsuperscript{st}/3\textsuperscript{rd}&Group 5& Group 6&Group 7&Group 8\\ \hline
\end{tabular}
\caption{Number of respondents per treatment}
\label{table:1}
\end{table}
\end{document}
Finally a version with package booktabs
, less and better lines and spacing:
\documentclass{article}
\usepackage{booktabs}
\usepackage{caption}
\usepackage[normal]{engord}% no option or option "raise" for raised suffixes
\begin{document}
\begin{table}[ht]
\caption{Number of respondents per treatment}
\label{table:1}
\begin{tabular}{ccccc}
\toprule
& \multicolumn{4}{c}{Display Format}\\
\cmidrule(lr){2-5}
& \multicolumn{2}{c}{High information density} &
\multicolumn{2}{c}{Low information density}\\
\cmidrule(lr){2-3}
\cmidrule(lr){4-5}
Cookie type & Noticeable & Non-noticeable &
Noticeable & Non-noticeable\\
\midrule
\engordnumber{1} & Group 1 & Group 2 & Group 3 & Group 4\\
\engordnumber{1}/\engordnumber{3} &
Group 5 & Group 6 & Group 7 & Group 8\\
\bottomrule
\end{tabular}
\end{table}
\end{document}
{Display Format}&
and{Low information density} &