I am trying to create a home page in SharePoint 2013 that shows quick stats based on an Excel workbook stored in a document library. Through my research I found that I could leverage the Excel Services REST API to pull the information I need from the workbook via URIs and display it on a SharePoint page in a seamless manner.
The problem I am having is pulling the data I need as raw text.
For example, I can create a page in HTML that says "Our sales for the month grew by [X%]" and use an img src tag that points tohttp://sample.com/_vti_bin/ExcelRest.aspx/Documents/workbook.xlsx/Model/Ranges('Sheet1!A1')?$format=image to show a picture of cell A1 which contains the data I want to show inline on my page.
I want a way to pull the data in cell A1 as raw text so that I can format it as part of the HTML page. I tried using$format=html, but that just takes me to a separate page where the cell is formatted exactly as it is in the workbook.
Is there a way to do what I am trying to do? The more detailed your response can be, the better as I am fairly new to these features. And also, is there a way to perform calculations of cells in HTML? Thanks in advance.