How to do calculation from excel sheet using my copilot bot ?

Kuldeep Y 41 Reputation points
2024-05-31T09:49:28.6866667+00:00

Hi,

I have created a new bot in copilot studio, and I have a spread sheet with data of my whare items and items details such as price , No, etc. Now I want to query from my bot to fetch this data and do calculations over the price, month of sale etc, but it is now working correctly even it reading data in wrong way

Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
103 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
219 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Afifa Shaikh - MFST 0 Reputation points Microsoft Vendor
    2024-08-13T07:58:06.2133333+00:00

    Ans: To enable your bot to query the spreadsheet and perform calculations, you'll need to follow these steps:

    Connect the Spreadsheet to Your Bot: Ensure that your spreadsheet is accessible to your bot. You might need to upload it to a cloud storage service like OneDrive or SharePoint and provide the necessary permissions.

    Set Up Data Queries: Use the bot's capabilities to query the data from the spreadsheet. You can write scripts or use built-in functions to fetch the required data. For example, you can use formulas or functions to calculate the total price, monthly sales, etc.

    Perform Calculations: Once you have the data, you can perform various calculations. For instance, you can sum up the prices, calculate averages, or analyze sales trends over different months.

    Integrate with Bot Responses: Make sure your bot can respond with the calculated data. You can format the responses to provide clear and concise information to the users.

    0 comments No comments