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 / Trying to unite 2 exce...
Power Automate
Answered

Trying to unite 2 excel files and put the equivalent on same row (just like Vlookup does in excel)

(0) ShareShare
ReportReport
Posted on by

Hello everyone, i'm struggling with a task of having to unite 2 excel files that i've extracted from 2 diferent sharepoint lists, and i need them to align with the right person (a single line of text column) at the same row. Not everyone who is present on the first sharepoint list is also present on the second one, i've managed to get the data from the person i needed from the first Sharepoint list and on the second sharepoint list i've gathered another kind of data but i'm trying to use the email so i can compare.

I am able to dump the info from both of them on the same excel file but i cant make it place on the right row on the table. If there is info from the first sharepoint list there will be a blank space where the second sharepoint list info should go. Visual example of it: 

DaftNewb_0-1652727228251.png

same happens with the info from the second sharepoint list wich has a blank space where the info from the first sharepoint list should go.  The expected result should be more like this: 

DaftNewb_1-1652727332332.png

but i'm not managing to find a way to make it happen, so any help will be more than welcome.

I also tried to paste a "vlookup" excel formula after the first splist data but power automate doesn't seem to accept excel formulas on it.

Thanks in advance everyone for the attention and i'm waiting hopefully for some help.

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @DaftNewb ,

     

    Please check the sample:

    vxiaochenmsft_0-1652931569519.png

    vxiaochenmsft_1-1652931579423.png

     

    vxiaochenmsft_2-1652931627264.png

    vxiaochenmsft_3-1652931647244.png

    vxiaochenmsft_4-1652931655961.png

    vxiaochenmsft_5-1652931690716.png

     

    Result:

    vxiaochenmsft_6-1652931702673.png

     

    Best Regards,

    Wearsky

  • takolota1 Profile Picture
    4,980 Moderator on at

    @DaftNewb @v-xiaochen-msft 

     

    You can get the Vlookup columns into Power Automate.

    Just create the Vlookups in columns set further down & once they have all the data you want, cntrl + shift + down key to highlight them all and copy them. Then right click in the columns where you ultimately want the data and in the Paste options select Values to just paste the text values without the formulas. Then you can use them in Power Automate.



    Alternatively, if these are relatively large lists, you could use a batch update SharePoint method to directly update one list from another list based on a primary key column like in this template: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Batch-Update-SharePoint-List-With-External-Data/td-p/1365410

  • DaftNewb Profile Picture
    on at

    Hi, @v-xiaochen-msft this would be perfect but i need to use it with dynamic content wich does not load the column names and configuration when i use it.

     

  • DaftNewb Profile Picture
    on at

    somehow after poking the update a row for a few time by adding and removing an standard file that already had the columns i needed and swaping bacl for the dynamic content an option called "provide the item properties" showed up, where i've inserted a json from the columns i needed and was able to use dynamic content on it if anyone is wondering about the json mine was like: 

    {

    "name2": "items('Apply_to_each')?['name2']"

    "info5": "items('Apply_to_each')?['info5']"

    }

    so finaly @v-xiaochen-msft was sucessfull for me, thanks a bunch for that

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard