Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Adding Numbers in Excel

(0) ShareShare
ReportReport
Posted on by

How do I create a flow that will increase the amount of items issued for an inventory in an excell spreadsheet. I.E. Equipment issued is at 2 a list item is added in share point that tells the spreadsheet to issue one more item to a person. How do I tell excel to increase the integer in the cell from 1 to 2?

  • Community Power Platform Member Profile Picture
    on at
    Re: Adding Numbers in Excel

    Also Power automate doesn't seem to be reading previous flow's run.

  • Community Power Platform Member Profile Picture
    on at
    Re: Adding Numbers in Excel

    I get an error message, "The inputs of workflow run action 'Set_variable_2' of type 'SetVariable' are not valid. Self reference is not supported when updating the value of variable 'Item'." when trying this. Thank you so much for the help so far

     

  • alrezac Profile Picture
    on at
    Re: Adding Numbers in Excel

    This is what you are looking for for the variable actions. You will need to set the variable to the value in your Excel document. then you will need to write to your Excel file using your variable.

     

    Untitled.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Adding Numbers in Excel

    How do you initialize the variable

  • alrezac Profile Picture
    on at
    Re: Adding Numbers in Excel

    Hi,

     

    The general idea of the flow is first you would like it to trigger off of something. For now we will just make in manual. Second we need to grab the specific item from you Excel document. So the Excel document will need to be located somewhere that Flow can connect to and it needs to be formatted in a way that Flow can read the Excel document. They we just need to grab the row that contains the value. From there we need to initialize a variable to whatever value we are grabbing. Then we need to use the increment variable set to increase it by 1. And lastly we need to update the Excel row value to the new variable that we increased.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow