How to Display Excel Spreadsheet in SharePoint Online?

Recently, I was working on building a SharePoint Online site page that required displaying an Excel spreadsheet, allowing employees to view the data directly on the page rather than navigating to the document library and opening it.

After researching, I found two different web parts for displaying an Excel spreadsheet on a SharePoint site page:

  • using Embed web part.
  • using the File and Media web part.

In this tutorial, I will show you how to display an Excel spreadsheet on a SharePoint site using the two web parts mentioned above.

Note: In classic SharePoint sites, you can use the SharePoint page view web part to display an Excel spreadsheet.

Display Excel Spreadsheet in SharePoint Online Site Using Embed web part

Let’s start by implementing the display of the Excel spreadsheet on the SharePoint Online site page using the embed web part.

To do this, we first need to add an Excel file to the SharePoint document library, add it, and then follow the steps below to display the Excel file on the SharePoint site page.

  1. Open the file in a browser -> Click on File at the top navigation -> Click on Share -> Click on Embed this workbook as shown below.
Display Excel content in an Excel Web Access Web Part
  1. It opens the Embed window, as shown in the image below. Choose the context from Excel that you want to display, such as the entire spreadsheet or only the table, or specify the number of columns and rows you want to display.
  2. Additionally, you can select other settings, such as Appearance, Interaction, and Dimensions. After updating the settings, copy the embed code.
How to display an up-to-date excel table in a SharePoint site
  1. Then, edit the SharePoint site page where you want to display the Excel spreadsheet, and click on the + icon, add the Embed web part.
How to embed excel in Sharepoint site page
  1. Then, on the right-side properties, paste the embed code under the ‘Website address or embed code‘ section.
how to embed excel in sharepoint page
  1. Then, save the changes and Republish the site page.
  2. You can then see the Excel spreadsheet on the site page. You can turn off the ‘Resize to fit the page‘ setting if it takes up more space on the site page. Then, the Excel spreadsheet will be displayed as shown in the example below.
edit embedded excel in sharepoint

This way, we can embed the Excel spreadsheet in a SharePoint Online site page.

Read More: SharePoint List Title Column

Display Excel Spreadsheet in SharePoint Site Page Using File and Media Webpart

Let’s see how to utilize the File and Media web part to display the Excel spreadsheet on the site page.

  1. Open the SharePoint site page where you want to display the Excel spreadsheet. Edit the site page, click on the + icon to add the web part ->Choose the File and Media web part.
sharepoint file and media web part excel
  1. Then, it will open a page to choose the Excel file. On the page, you can see many options to choose the file:
    • Recent
    • OneDrive
    • SIte
    • Upload
    • From a link
  2. After choosing the file, click on the Insert button at the bottom, and it will add the Excel file to the page.
How to Embed Office Excel Docs on a SharePoint Page
  1. After adding the Excel spreadsheet to the site page, you can edit it to display only a particular table, the entire workbook, a range of items, a chart, or add a description to that web part, etc.
sharepoint file and media web part resize

This way, we can add the Excel spreadsheet to the SharePoint Online site page using the File and Media web part.

In this tutorial, I have explained two different web parts for displaying an Excel spreadsheet on a SharePoint Online site page. Users can easily view the details directly on the page, and any updates or changes made to the file are reflected immediately on the sheet displayed on the page. Do let me know if this tutorial is helpful.

Also, you may like the following tutorials:

  • Hi,
    i already tested Point 4 “Display Excel Spreadsheet in SharePoint using page viewer web part” and that will not work with Microsoft Edge Browser. The file was downloaded not shown. Is there a solution for that Problem.
    We use a SharePoint 2019 Classic (migated from 2013 to 2016 to 2019)

    When i test Point 3 “Display excel document in SharePoint using Excel web access web part” i got the Error: Sorry, Excel online is needed.

    So i have no possibility to show excel data in 2019 on prem?
    Thanks,
    Oliver

  • >

    Build a High-Performance Project Management Site in SharePoint Online

    User registration Power Apps canvas app

    DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

    Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

    Power Platform Tutorial FREE PDF Download

    FREE Power Platform Tutorial PDF

    Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…