cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alanisp22
Helper II
Helper II

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

Hello,

 

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. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Alanisp22
Helper II
Helper II

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

View solution in original post

3 REPLIES 3
Hardesh15
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.

@Hardesh

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

Alanisp22_0-1612908042221.png

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.


Alanisp22_1-1612908389315.png

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

Alanisp22
Helper II
Helper II

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

Helpful resources

Announcements
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.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,788)