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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need a help in Dynamic...
Power Automate
Unanswered

Need a help in Dynamic Excel Automation: Opening Files Based on Cell Content in Power automate desktop flow

(0) ShareShare
ReportReport
Posted on by 203

Hi Everyone,

 

I want to create a system in Excel where the content of cell 2 in the current open Excel file is used to determine and open another Excel file with the same name from a different folder. Here's a rephrased explanation:

 

"I need to set up an Excel automation where the value in cell 2 of the currently open Excel file using (Get files in folders) is used to identify and open a different Excel file located in a separate folder. For example, if cell 2 in the current file contains the word 'Apple,' the system should automatically open a file with the name 'Apple_123.xlsx' from a other specified folder."

 

How to achieve this - Please help

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    First, read the Excel in which cell 2 you required.

    this Excel data will be stored in a data table

    take the value(Like Exceldata[0][2]) that you want in a variable 

    Now use launch excel activity and Give the path like %variable%_123.xlsx

     

    Hope this helps

    Usha.

  • Ahmedmuz Profile Picture
    203 on at

    Thanks,, but can you share a snapshot it will really help as we are new learners please 

  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    UshaJyothi20_0-1697800972255.png

    Hope this clarifies,

    Usha.

  • Ahmedmuz Profile Picture
    203 on at

    Hi Usha,

     

    Hi Usha, 


    I'm facing a challenge while attempting to open files retrieved using the 'Get Files in Folders' action and implementing a 'For Each' loop. Please refer to the attached snapshot for a clearer understanding of the situation.

    File - it will open one by one - If ex its open and read in cell 2 as apple12344.xls and i want in file2 it should open any file name cantinas with Apple only not the 1st one. 

    Ahmedmuz_0-1697801517429.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard