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.
Solved! Go to Solution.
@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?