To add borders to the cells in your spreadsheet, select the data, go to the menu and click on Borders. Finally, choose the type of borders you need.
How do I add borders to the data before removing gridlines