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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,583)