Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Adding Excel Data to SharePoint List by Using Union for Three Different Linked Values



I have an excel spreadsheet in SharePoint where the inputted data needs to added to three different SharePoint lists. What would be the best route to go if I need to complete the import in this particular way:

Step 1. Pull all unique client names using union and compare them to the existing client Id list. If the client name exists proceed to step 2. If the client name does not exist, create it in the Client Id list and then proceed to step 2.  - Accomplished this part. I am just stuck on achieving step 2 & step 3. 

Step 2. Take all of the project names tied to the grouped client id (from the same excel file data), group unique names, and then compare to an existing project name. If the project name exists proceed to step 3. If the project name doesn't exist, create it in the project name list and then proceed to step 3.  - This is where I am stuck. Right now I have all the project names tied to the unique client names, but they are all displaying as separate arrays. 

Step 3.  Pull all the 'units' tied to the unique projects and compare the unit names to an existing "Units Available" SharePoint list. If the unit's name doesn't exist create it under the Units Available list. If it does exist, no action is needed. 




Accepted Solutions
Helper II
Helper II

Solved this by continuing the "Append an Array" with each resulting value. 🙂

View solution in original post

Super User
Super User

@Alanisp22  So overall thought of this is that you are building three level of filtering and creating item if item does not exist at any level. Can you share screen of your second level?.

Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.


@Hardesh15 Hi! Here's what I have so far:


I am able to group the unique account names and compare them against the account list in SP. I just need to figure out the new step; how to group the project names and find the unique values to compare them against my Project name SP list.


What's the best way to group my filtered project names? 

Helper II
Helper II

Solved this by continuing the "Append an Array" with each resulting value. 🙂

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,463)