cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bennyk
Frequent Visitor

Extract excel cell text into Key value field in power automate

Hi,

I have the following power automate flow:

  1. A FORM that feeds excel by nature. I am using Power automate that is triggered by this FORM (works good)
  2. My 2nd step is "get a row" function. All fields are correct but the 'Key Value'  in which is a specific email address in the column D in the excel. Each new FORM fill is inserted automatically to a new Excel ROW. I really don't know how to fill that email text by formula to the Key Value field. If I type in the 'key value' real email address, the test is successful.   
  3. Send Email to a pre-set addresses. In the body I put the 'respond ID' function that tells the attendees the ROW ID where the new FORM content is fed. Actually that's the FORM response ID. That works good too. 

All the flow works perfect and My only issue is item 2. I just wish to add either to the subject or to the email body, the email address of the person filled the FORM. That email is different in every new line in column D. 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

Eventually I have built both FORM and the excel in the same location in my OneDrive and the formulas suggested here work perfect. I only had to set credentials access to the excel for members in the organization. 

Thank you so much. 

View solution in original post

9 REPLIES 9
SudeepGhatakNZ
Multi Super User
Multi Super User

@Bennyk 

Add the 'Get a row' action from Excel Online (Business) connector. Configure it to point to your Excel file and table. For the 'Key Value' field, you can use the dynamic content from your form submission. Choose the appropriate column where the email address is stored (Column D). Is that what you are trying to achieve. Perhaps some screenshots will help.

 

If my suggestion helped you, please give it a Thumbs up and Mark it as a Solution so that it can benefit others in the community.
Sudeep Ghatak
Microsoft MVP, Business Applications
www.sudeepghatak.com

Thank you Sudeep for your reply. Not sure I understood your meaning of content from FORM submission. I think I passed that. Regarding the other suggestions, I am already passed that and all is working but.... the right formula to get to cell content with the syntax (email in my case) and copy it in the body or subject (whatever I choose). 

hen you asked: 'is that what you are trying to do?' The answer is yes. I am trying the dynamic function but couldn't find the one that really executes the copy paste (cell content to email). This is my flow. The 1st box is for the form. The 2nd box is where the issue blocks me. Below some screen shots. 

Bennyk_0-1715019200024.png

Bennyk_1-1715019592574.png

 

Bennyk_4-1715020218495.png

Respond Id works (that's the Form index ID for each new response). 

Also the email works, once I type the email myself in the key value. I tried the formula you see. I have no clue what was I doing. It didn't work. 

I will be happy if you can figure this and if you do, send me some screenshots of the formulas to pick. 

 

SudeepGhatakNZ
Multi Super User
Multi Super User

 

@Bennyk ,

It sounds like you're looking to streamline the process by automatically filtering the Excel sheet based on the email address submitted through the Microsoft Form. This can definitely enhance efficiency and accuracy. Here's a refined version:

I think after the Microsoft form submission, you aim to filter the corresponding Excel sheet based on the submitter's email address. Is that correct? Try this logic below:

 

SudeepGhatakNZ_0-1715036065492.png

SudeepGhatakNZ_2-1715036371229.png

 

SudeepGhatakNZ_3-1715036540439.png

 

SudeepGhatakNZ_4-1715036569443.png

 

 

If my suggestion helped you, please give it a Thumbs up and Mark it as a Solution so that it can benefit others in the community.
Sudeep Ghatak
Microsoft MVP, Business Applications
www.sudeepghatak.com

Hi Sudip,

First I would like to apologize for the late replies. I am a field engineer and serve half of the time in the field with customers and half in the office so I am loaded :-). 

Your solution worked like a magic!!! (I would never thought of this solution) but.....

It worked for the test in which the FORM and the Excel were placed under my personal drive on One drive. I moved them both to the SharePoint (FORM to Excel requires to be at the same place) because the 'get row' functions can only point to SharePoint but the 'Get Response' function gives me only the list in my one drive and I can't point it to SharePoint. So it ain't over yet :-(. 

 

I'll explain what is the need: 

In the field, engineers need to fill RMA (return merchandise authorization). This is for sending information filled in the form to operation with details of the parts need to be replaced. Each FORM response creates new line in the Excel by many engineers in many locations and the email body I created in the power automate is with link to that Excel. I just wanted to add the engineer name or email that is the source of each ticket so Operations can tell whom to reply to later. The flow I run still sends me the 'RespondId' number from the form in my personal OneDrive. Any idea how to pint them to the same location? Below is the print screen of your successful input. 

Bennyk_0-1715199171017.png

 

SudeepGhatakNZ
Multi Super User
Multi Super User

Hi Benny,

 

Here are some questions:

1) "the FORM and the Excel were placed under my personal drive on One drive". What do you mean by that statement? The form lives in Office 365 cloud. It is the excel that can be inside a Onedrive folder or SharePoint. Get a row action can point to either Onedrive or SharePoint.

2) "Each FORM response creates new line in the Excel ". From what I can see you are only reading from the Excel not writing into it.

3) "The flow I run still sends me the 'RespondId' number from the form in my personal OneDrive." Your link to onedrive will only work for people with whom you have shared the file. You can move the excel to SharePoint and  share a link to SharePoint in the same way.

If my suggestion helped you, please give it a Thumbs up and Mark it as a Solution so that it can benefit others in the community.
Sudeep Ghatak
Microsoft MVP, Business Applications
www.sudeepghatak.com

Dear Sudeep,

This is the reason I explained all so the need will be understood. In Office365, viewing FORM responses, there is a way to open it in excel, and that excel is created the moment you choose to open the excel, right? so there is no option to define the location of it, right? it's placed at the same environment automatically. Saying that, under my 365 account, I believe there is personal place that is not the same as in SharePoint like the document folder. 'Get Response' shows me only files that are in My One Drive and I can't redirect it to where I need, where as 'Get Row' shows me only files under shared SharePoint and I can't change that either. 

So The FORM writes to the excel and all I need is to extract the email or name, either from the excel or from the FORM. 

Is there a way to have function that extracts both ('ResponseId' and name/email) from the FORM?

If not, then how to resolve the source pointer of both functions to the same list. 

 

Hope this is clear. 

SudeepGhatakNZ
Multi Super User
Multi Super User

Are you available for a short call? I can take a look.

 

If my suggestion helped you, please give it a Thumbs up and Mark it as a Solution so that it can benefit others in the community.
Sudeep Ghatak
Microsoft MVP, Business Applications
www.sudeepghatak.com

Hi Sudeep,

I will be more than happy to have a call. What will we use to perform such communication? 

Hi,

Eventually I have built both FORM and the excel in the same location in my OneDrive and the formulas suggested here work perfect. I only had to set credentials access to the excel for members in the organization. 

Thank you so much. 

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,555)