web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Excel update a cell via decrement variable from a SharePoint item

(0) ShareShare
ReportReport
Posted on by

Hey experts!

 

I'm trying to set up a flow that will connect to my existing SharePoint site to update an Excel table.

 

The Excel table is a total quantity list of all the IT equipment items currently available within the organization and includes a Quantity column.

 

zroberts123123_0-1682039486168.png

 

The SharePoint list is a running log of all employee hardware requests and includes information about different user requests for equipment. It includes type of request, address to send the equipment and the equipment items requested.

zroberts123123_1-1682039621692.png

 

 

I need a flow that achieves updating the Quantity column (Excel table) for the selected Equipment item choice column (SharePoint). 

 

Happy to create a different table for each equipment item if that is going to be easier but would just like some guidance and help on this and how to achieve this flow.

 

Thanks,

 

Zac

I have the same question (0)
  • Verified answer
    v-wenjuan-msft Profile Picture
    Microsoft Employee on at
    Re: Excel update a cell via decrement variable from a SharePoint item

    Hi @Anonymous ,

     

    Do you mean you would like to get content from Equipment item column and if say some one request for a laptop, we will substrate Laptop's quantity by 1.

     

    Here is my demo for your reference:

    1. First we will get content from Equipment column and split them once there are several items.

    vwenjuanmsft_0-1682067832882.png

    2. then we need to verify which item it is and thus we can decide which quantity in excel we should modify.

    Here in Switch is the key point of our flow. I will take "Laptop" for an example:

    vwenjuanmsft_1-1682068132070.png

     

    Here are functions I used in my test for you to copy:

     

    item()?['Item']
    first(body('Filter_array'))
    outputs('Compose_2')?['Quantity']
    sub(int(outputs('Compose_3')),1)

     

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    on at
    Re: Excel update a cell via decrement variable from a SharePoint item

    Thanks  @v-wenjuan-msft

     

    This is my flow with the error coming up

     

    zroberts123123_0-1682295938269.png

    zroberts123123_1-1682295946044.png

    Any ideas...?

  • Community Power Platform Member Profile Picture
    on at
    Re: Excel update a cell via decrement variable from a SharePoint item

    Update this worked

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard