One of the more fiddly things to do in LaTeX is table generation. Fortunately there are online generators that will take your tables from spreadsheet programs as input. Here is the one I’m using for small tables.
Example output using tables generator with the booktabs package:
For long, multi-page tables, it’s best to construct your table in LibreOffice, then use the Writer2LaTeX extension to convert it to LaTeX, which works amazingly well. Once in LaTeX, you can make further adjustments to the table, taking full advantage of the longtable package in LaTeX, like repeating 1st and last rows, abbreviated captions, ‘continued on next page’ footers etc…