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

Notifications

Announcements

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
    203 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
    203 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard