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 / Write to Excel based o...
Power Automate
Answered

Write to Excel based on value in data table

(0) ShareShare
ReportReport
Posted on by 20

Hi, 

 

I have an excel sheet and i want to write a specific value to a row that I have searched for using 'find or replace in data table'

I have found the value I was looking for and now want to write a value to a specific column in that excel.

 

See the row and column index of the value i searched for. I now want to write a value to column 7 of that row I found. Thanks for the help

automator11_0-1699830483072.png

automator11_0-1699830612129.png

 

 

 

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    %DataTableMatches2% is a data table, so you also need to indicate a row index, and not only a column name. Use %DataTableMatches2[0]['Row']% instead.

     

    If it fails saying it requires a numeric value, it might be because the indexes in %DataTableMatches2% are returned as strings (no idea why PAD still does that). You would probably need to convert %DataTableMatches2[0]['Row']% to a number using Convert text to number and then use the resulting number as the row index in Write to Excel worksheet.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard