- This is an alternative and fast approach (to the comments so far).
- Your table is very long and you seem to be new to LaTeX.
- I would convert the Excel table in a PDF (picture) and then would include it with
pdfpages
or includegraphics
.
\documentclass[12pt]{article}
% https://www.ctan.org/pkg/pdfpages
\usepackage{pdfpages}
% \captionof
\usepackage{caption}
% https://www.overleaf.com/learn/latex/Headers_and_footers
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rhead{Test Header Right}
\lhead{Test Header Left}
\rfoot{Page \thepage}
\begin{document}
\tableofcontents
\listoftables
\section{Test Section}
Test text. Test text. Test text. Test text. Test text.
\subsection{Test SubSection}
Test text. Test text. Test text. Test text. Test text.
\includepdf[
pages = 1,
pagecommand = {
\pagestyle{fancy}
\captionof{table}{Experiment results.}
},
%fitpaper = true, % see manual for more information
%noautoscale = true, % see manual for more information
]{Table_PDF.pdf}
\end{document}
(Screenshot of the PDF version of the Excel table)
longtable
table.\multicolumn
commands ... Sometimes it is better to create the table by your own ... Can you add an screenshot of your table to your question?