Merging two SharePoint lists

Hello !
I have 2 SharePoint lists for years 2013 and 2014. I want to merge them and then pull the merged list into PowerPivot. I appreciate any help for that. I don't want to have 2 lists in PowerPivot, so I was wondering if there is anyway that I can merge these
2 SharePoint lists?
--update--
I need to have live connection between the lists.  It means I want to have an automated process in place that can merge two lists once I pulled them into PowerPivot without any manual process of merging the lists.

I don't know what rights you need to do this, but go to each site and do the following instructions:
Click on Site Actions
Click Site Settings
Click Manage All Site Settings
Under the Site Administration Group, click Content and Structure
A window comes up that looks like Window's File Manager. You are in the current site, but you can see that you can browser to other sites in your site collection from the left panel.
Locate the list you want to copy items from and click the name. You will see all the items, or at least in pages of 100.
Change the paging quantity from 100 to 1000 in the top right, where it says "Show 100".
Select all the items you want to copy. There's an icon that looks like a stack of papers, to select all items on this page.
Click Actions in the toolbar, then click "Copy...". A dialog will come up of the current site collection.
Choose the destination then, click Ok.
Repeat this until you're done copying all items from the list.
Be patient while the copy process completes, then switch to the other 49 sites. You cannot copy from one site collection to another. You can copy between
subsites or sister sites. If you can't see the Content and Structure link in the Site Settings page, use the 12 hive URL: http://sitecollection/_layouts/sitemanager.aspx You'll
have the items copied in no time without the help of IT/development.
Courtesy links
http://stackoverflow.com/questions/17956557/combine-multiple-sharepoint-lists-into-one
https://www.nothingbutsharepoint.com/2012/05/11/how-to-link-two-lists-and-create-a-combined-view-in-sharepoint-2010-aspx/
http://sharepoint.stackexchange.com/questions/34198/combining-multiple-lists-into-one
https://social.technet.microsoft.com/Forums/sharepoint/en-US/bcd2f069-ceec-42df-8989-a03e0cb017f3/to-join-two-sharepoint-list-having-a-common-colomn-without-using-joins?forum=sharepointgeneralprevious
please 'Propose as answer' if it help you, also vote this as helpful if you like this reply.

Similar Messages

  • Merging two linked lists of integers that are sorted

    hey guys,
    i need to write a method to merge two linked lists of integers that are sorted into ascending order. the results should be a third linked list that is the sorted combination of the original lists.
    can someone help me start this? Basically, the method will be taking in two sorted linked lists of integers and merge them into one big sorted linked list.
    Im just looking to get some algorithm ideas and maybe one or two lines of pseudocode to get me started.
    thanks

    i can't destroy the original lists so im gonna need
    to create a new sorted list. then since both of the
    lists im using are sorted, i'll just have to copy one
    of them into the new list i created. Then i will get
    an item from the unused list and search that node in
    the new copied list and insert in appropriate
    position using the two Nodes...example(prev and
    curr).That can work. I'd probably do it by initializing a new list and compare the first items in each of the original lists, inserting the smaller in my new list and advancing to the next element in the original list from which I took the item, repeating the process until I copied each item from both original lists. Don't forget to take into account that you will reach the end of one list before the other.

  • Check duplicate items in two sharepoint lists

    Hi, I have 2 separate sharepoint lists, both contrain user names. e.g: Jan Jaap.
    I want sharepoint to automaticly compare those lists to see if there is any name in both lists and notify me about it. For example :
    List 1: Firstname | Surname
              Jan           -    Jaap
              Steen        -    Vos
              george       -    bush
    List 2: Firstname | Surname
              Jan           -    Jaap
              fox            -    washington
              brian         -    potter
    both lists contain jan jaap. and i want sharepoint to notice that and send me and email about it :p.
    Is this in any way possible?
    Thanks in advance!!

    You can use below tool
    http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/004_SharePointActions/003_CompareSitesAndLists.htm
    Or if you want to do it programmatic try below:
    http://sharepoint.stackexchange.com/questions/60917/compare-items-of-two-sharepoint-lists
    SPWeb web = SPContext.Current.Web;
    SPList list = web.Lists["Employee"];
    string query = @"<Where>
    <Eq>
    <FieldRef Name='Position' /><Value Type='Choice'>{0}</Value>
    </Eq>
    </Where>
    <OrderBy>
    <FieldRef Name='Salary' Ascending='False' />
    </OrderBy>";
    query = string.Format(query, "Developer");
    SPQuery spQuery = new SPQuery();
    spQuery.Query = query;
    SPListItemCollection items = list.GetItems(spQuery);
    If this helped you resolve your issue, please mark it Answered

  • Help with Joining two SharePoint lists using LINQ

    Hi Guys,
    I have found many threads with this question. Although I had one doubt. I wanted to know that while performing a Join operation on two SharePoint Lists using LINQ does the column on which we are performing the join operation need to be a Lookup column?
    I was initially using CAML but since my lists does not contain lookup columns I switched to LINQ but my doubt still remains.
    I would really appreciate any help from you guys and also would appreciate if I could get some examples that I could refer to.
    Thank you

    Joins in LINQ to SharePoint 2010
    How to: Query Using LINQ to SharePoint
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Comparing two SharePoint Lists, three variables in each

    I have a data set in a SharePoint list, Column 1, 2, 3,4.
    I have a second data set in a SharePoint list, with the same columns 1-3 in it.
    I would like to create a workflow (I think) that when a new record is added to the first data set, it checks the second data set to see if there is a record with the same matching three records. If there is a match it would change column 4 in the first file
    to "TRUE".
    Looking for some help here... I know how to do a look up for one value, and even a lookup to look at two different values independently, but this lookup needs to make sure that all three columns in the record are a match.
    Thanks

    Hi,
    I'm assuming you mean for List 1 you have four fields and an additional field with the date (MyDate for example).
    And that in List 2 you have three fields plus two more date fields (EffectiveDate and ExpirationDate for example)
    For this scenario I would create 2 workflow variables:
    1. Combined (string) - same as before that builds up the three fields in List1
    2. List2Id - that gets the ID of the List Item in List2 that matches (if none match then List2Id will be 0) using the following settings:
    Data source: List2
    Field from source: ID (As List Item Id - IMPORTANT)
    Field: Combined
    Value:Variable:Combined
    Then use an if condition to check:
      If Variable: List2Id not equals 0
    then within this if condition create another sub if condition to check the following:
      If Current Item:MyDate is greater than or equal to List2:EffectiveDate
      AND Current Item:MyDate is less than or equal to List2:ExpirationDate
    If both conditions are true then update field four in List1 to True.
    Settings to get List2:EffectiveDate are below:
    Data source: List2
    Field from source: EffectiveDate (As Date/Time)
    Field: ID
    Value:Variable: List2Id (Return field as: Item Id - IMPORTANT)
    Settings to get List2:ExpirationDate are below:
    Data source: List2
    Field from source: ExpirationDate(As Date/Time)
    Field: ID
    Value:Variable: List2Id (Return field as: Item Id - IMPORTANT)

  • How do I merge two buddy lists?

    Just downloaded Chax. I love the tabbed chat feature, but I want to integrate my two Buddy Lists. How do I do that? Does Chax offer that?

    Hi heatgrave,
    I am not aware of any quick way to do this.
    Make sure each Buddy has a Real name or Nickname added to the iChat Address Card. (click once on a Buddy and then use Apple key and i together (Get info). Then select the Address Card).
    This adds the Buddy to you Address Book.
    Names can be dragged from the Address Book to iChat.
    9:55 PM Wednesday; January 24, 2007

  • Is there a way to link two sharepoint lists together?

    Hi Guys,
    I currently have two lists (list A and list B), if a user enters a record into list A, i want it to populate the same record into list B...
    Is that possible?
    Alot of the columns are the same in both Lists, but the columns that arent in both list just wouldnt populate in the second list (List B).
    Any suggestions or information would be grateful. Thank you.

    Hi Soupi,
    According to your description, my understanding is that you want to populate a same item in list B when you create an item in list A.
    You can use a workflow to do it.
    Firstly, you need to install SharePoint Designer 2013. After installing, open your site with SharePoint Designer 2013. Then do as the followings:
    Click "Workflows" in the left panel, and click "List Workflow"->List A.
    Type a name, and select SharePoint 2010 platform.
    Then add the action "Copy ListItem" into the workflow, like the screenshot A below.
    Go back to the workflow settings, and set "Start workflow automatically when an item is created", like the screenshot B below.
    Screenshot A:
    Screenshot B:
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • On lion it merges two buddy lists, how do you undo that?

    any ideas?

    Hi,
    John has the Correct answer.
    A Pic just to help
    10:14 PM      Sunday; January 22, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to merge two list

    How do you merge two .xls list that are the same and then remove doubles.
    Thnks in advance.
    Jose

    Jose,
    If you open both Excel documents and, in turn, copy the list and paste into a Numbers document you can detect the duplicates by sorting the list so that identical entries lie next to each other. Then you can search out the duplicate visually, or you can use an expression to help find them.
    If your list is in column A of a table named Data, with the first data in row 2, you can enter this expression in another column:
    =IF(COUNTIF(OFFSET($A$1, 0, 0, ROW()-1), A)=0, "", "Dup")
    Sort on the column with the expression and then select all the rows containing "Dup" and delete them.
    Jerry

  • PerformancePoint - 2010 Scorecard filter based on two data sources (Actual - OLAP/Target - Sharepoint List)

    Hi
    I have KPI's for tasks performed by specific groups within our organization, the actuals are determined by an MDX tuple formula against an AS OLAP data source:
    ([Change Task Assignment Group].[Group Subtype].&[GDC PM], [Measures].[Average task duration - m]) /1440
    The Task Name is provided by a filter, also looking at the AS OLAP data source.
    This woks well and allows us to have a single scorecard for the team, providing actuals depending on the task selected from the filter.  The problem comes in setting targets for the KPI's!  I can only set one target for each KPI and this is
    the same for which ever task is selected via the filter.  The target is stored in a SharePoint list.
    Is it possible to have targets for the different tasks driven by the same filter?  Can a single filter be configured to return values from two data sources to both the Actual KPI value and the Target value?
    Thanks

    A good solution. Liked it very much. Can you please make it a technet blog for others.
    [email protected]

  • Is possible to take the Infopath form with two repeat section in one SharePoint list

    Is possible to take the Infopath form  with two repeat section in one Sharepoint list 
    Take two repeat section and put them one bellow to other one in a SP list.
    The motive is that the first repeat section is based in account own by the requestor and the second repeat section is when the requestor is doing backup time for some one else where need to log the amount of time that spend in the peer account.
    I have basic logic in the form when requestor said Are you doing backup for some else? and press YES it is be able to use the second repeat section.
     Le me know how much pain full is going tobe or not..
    –Q1: Is possible to do this ?  With codeless or not
    –Q2:What steps I need to do to accomplish this?  feasible or not
    the following picture give a better idea of what I am looking to accomplish:
    CRISTINA&amp;amp MICROSOFT Forum

    Hi,
    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Merging two lists?

    I need to know if it is possible to merge two lists using coldfusion.  I have one list uploaded to the site then they want the ability to upload a second list with may have additional fields and/or different number of records.  Need to know if this is possible, how to do it if it is, and how the two list will match up.  Thanks in advance for the help.

    Right, well in that case this isn't really anything to do with merging lists per se, hence the confusion I believe. Technically, you'd do this:
    <cfset newData = fileOpen("c:\newlist.csv","read") />
    <!--- Loop through your file, one line at a time --->
    <cfloop condition="NOT fileIsEof(newData)">
      <!--- Create a string of the line, this is a true list --->
      <cfset thisLine = fileReadLine(newData) />
      <!--- Get the elements of the list we want for the query --->
      <cfset thisForename = listGetAt(thisLine,1) />
      <cfset thisSurname = listGetAt(thisLine,2) />
      <!--- Check if this person exists --->
      <cfquery datasource/username/password name="qCheckExists">
        SELECT    id
        FROM      mytable
        WHERE     firstname = <cfqueryparam cfsqltype="cf_sql_varchar" value="#thisForename#" />
        AND       surname = <cfqueryparam cfsqltype="cf_sql_varchar" value="#thisSurname"#" />
      </cfquery>
      <!--- If we found rows, update --->
      <cfif qCheckExists.RECORDCOUNT eq 1 >
        <cfquery datasource/username/password>
            UPDATE   mytable
            SET      forename = <listGetAt,thisLine, FIELD>,
                     surname = <listGetAt,thisLine, FIELD>,
                     address = <listGetAt,thisLine, FIELD>,
                         etc etc etc
            WHERE    id = qCheckExists.id
        </cfquery>
      <cfelseif qCheckExists.RECORDCOUNT >
        <!--- here you found more than one matching row, up to you what to do --->
      <cfelse>
        <!--- here you didn't find a match, so do an insert --->
      </cfif>
    </cfloop>
    <cfset fileClose(newData) />
    That's how you'd do it on a technical level, the Business decisions are yours. What if it's John not Jon? What if it's Jonathan? That's not a programming problem, that's up to you to decide - I'm not sure we can help you there.
    O.

  • How do I Create a SharePoint List with two Attachment fields

    Hi Everyone
    I am using SharePoint 2013 Enterprise and Visual Studio 2013.
    I need to create a SharePoint list that has two fields of attachment type.
    Possible is a list supports this functionality natively?
    Tanks in advance.
    Eduardo

    Hi Muruguesa!
    When I customize the form in InfoPath Designer the following message appears:
    The publish operation Could Not Be completed. It can not be determined if the form template was successfully published. Try publishing the form template again, or change the settings to list
    Catastrophic failure
    I reported this error recently but not yet success in solving the problem:
    https://social.msdn.microsoft.com/Forums/office/en-US/687f2282-ad3d-4d13-a548-d25641b6b293/cannot-edit-form-in-infopath-when-list-was-created-in-visual-studio?forum=sharepointcustomization
     Do you have any ideas on how I can solve this case.
    PS: My list was created on Visual Sudio an Im using  SharePoint 2013 Enterprise and Visual Studio 2013.
    Thanks

  • User defined func: Unavble to merge two arrays in result list

    Hi
    I am trying to merge two arrays on the basis of "FEE" element in the input file;
    Actually there is an Attribute Name and Value pair array coming in the input file which has 5 pairs already(Notification + 100 , oversize + 8 etc.) see example below;
    <m0:Fees>ZB9</m0:Fees>
    <m:Attribute>
      <m0:Attributename>NOTIFICATION</m0:Attributename>
      <m0:Attributevalue>100</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>OVERSIZE</m0:Attributename>
      <m0:Attributevalue>8</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>OVERWEIGHT</m0:Attributename>
      <m0:Attributevalue>108</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>SIGNATURE</m0:Attributename>
      <m0:Attributevalue>294</m0:Attributevalue>
      </m:Attribute>
    <m:Attribute>
      <m0:Attributename>RTS</m0:Attributename>
      <m0:Attributevalue>8</m0:Attributevalue>
      </m:Attribute>
    The condition is:
    CASE 1. If the FEE doesn't exist in the file then only the Atrribute Name and Value in added to the Array
    CASE 2 If FEE exist then add all the Atrribute Name and Value pairs as well as in the last index of Array add String "Fee" in Attributename and String "ZB9" in  Attributevalue.
    CASE 1 is working fine.
    but in CASE 2 even if i m taking an output array of length Attributename +1 and Attributevalue +1 and trying to add "Fee" and "ZB9" respectively, it never happens.
    Please have a look at the code below;
       //write your code here
    public void ud_Attributename(String[] Fees,String[] Attributename,ResultList result,Container container){
              String attribute_copy[]=new String[Attributename.length+1];
              String attribute_name[]=new String[Attributename.length];
              String array_copy1[]=new String[Attributename.length+1];
              //int len =Attributename.length;
              if(Fees[0]!=null)
                   if(Fees[0].equals("ZB0"))
                   Fees[0]="01";
                   else if(Fees[0].equals("ZB5"))
                   Fees[0]="02";
                   else if(Fees[0].equals("ZB6"))
                   Fees[0]="03";
                   else if(Fees[0].equals("ZB9"))
                   Fees[0]="04";
              try{
                   if((Fees[0]=="01")||(Fees[0]=="02")||(Fees[0]=="03")||(Fees[0]=="04"))
                        for(int x=0;x<=Attributename.length;x++)
                             if(x==Attributename.length)
                             array_copy1[x]="Fee";
                             else{
                             array_copy1[x]=Attributename[x];
                             result.addValue(array_copy1[x]);
                   else
                        for(int i=0;i<=len;i++)
                             attribute_name<i>=Attributename[i+1];
                             result.addValue(attribute_name<i>);
              }catch(Exception e)
              {e.printStackTrace();}
    Same way i've used for Attributevalue.
    But the result is
    <ATTRIBUTEPAIR>
    <PAIR>
    <NAME>NOTIFICATION</NAME>
    <VALUE>04</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERSIZE</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERWEIGHT</NAME>
    <VALUE>108</VALUE>
    </PAIR>
    <PAIR>
    <NAME>SIGNATURE</NAME>
    <VALUE>294</VALUE>
    </PAIR>
    <PAIR>
    <NAME>RTS</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    </ATTRIBUTEPAIR>
    Please suggest where i am wrong. ur help is very much appreciated.
    Thnks in advance

    this is i am doing now
       //write your code here
              String attribute_copy[]=new String[Attributename.length+1];
              String attribute_name[]=new String[Attributename.length];
              String attribute_name1[]={"Fee"};
              //String[] Attributename.copyTo(attribute_name1,0);
              //String[] attribute_name1 = (String[]) Attributename.Clone();
              //String fees;
              String array_copy1[]=new String[Attributename.length];
              int len =Attributename.length;
              for(int y=0;y<len;y++){
              array_copy1[y]=Attributename[y];
              if(Fees[0]!=null)
                   if(Fees[0].equals("ZB0"))
                   Fees[0]="01";
                   else if(Fees[0].equals("ZB5"))
                   Fees[0]="02";
                   else if(Fees[0].equals("ZB6"))
                   Fees[0]="03";
                   else if(Fees[0].equals("ZB9"))
                   Fees[0]="04";
                   else if(Fees[0].equals("ZA1"))
                   Fees[0]="05";
                   else if(Fees[0].equals("ZA2"))
                   Fees[0]="06";
              try{
                   if((Fees[0]=="01")||(Fees[0]=="02")||(Fees[0]=="03")||(Fees[0]=="04")||(Fees[0]=="05")||(Fees[0]=="06"))
                        int j=0;
                        for(int a=0;a<=len;a++)
                             if(j==0&&attribute_copy[j]==null)                                   
                                  attribute_copy[j]="Fee";
                             else
                                  //int b=-1;
                                  for(int i=0;i<=len;i++)
                                       if(i==j)
                                       //i=i-1;
                                       attribute_copy[j]=array_copy1[i-1];
                                       break;
                                       else{
                                       continue;}
                        result.addValue(attribute_copy[j]);
                        j+=1;
                   else
                        for(int i=0;i<=len;i++)
                             attribute_name<i>=Attributename[i+1];
                             result.addValue(attribute_name<i>);
              }catch(Exception e)
              {e.printStackTrace();}
    and the result in queue is
    SUPPRESS
    [FEE]
    [NOTIFICATION]
    [NOTIFICATION]
    [OVERSIZE]
    [OVERSIZE]
    [OVERWEIGHT]
    [OVERWEIGHT]
    [SIGNATURE]
    [SIGNATURE]
    [RTS]
    [RTS]
    but in the output i m getting
    <ATTRIBUTEPAIR>
    <REF_HANDLE>0001</REF_HANDLE>
    <PAIR>
    <NAME>Fee</NAME>
    <VALUE>04</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERSIZE</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    <PAIR>
    <NAME>OVERWEIGHT</NAME>
    <VALUE>108</VALUE>
    </PAIR>
    <PAIR>
    <NAME>SIGNATURE</NAME>
    <VALUE>294</VALUE>
    </PAIR>
    <PAIR>
    <NAME>RTS</NAME>
    <VALUE>8</VALUE>
    </PAIR>
    </ATTRIBUTEPAIR>
    Notification is missing.

  • How to hide two fields in SharePoint list when a dropdown value selected?

    Hi all,
    I have a SharePoint list which have four columns 1 Title 2.Type (Dropdown: option1:Issues Option2:Risk) 3.Risk Name and 4.Risk type. If 'type' value is 'Issues' then I need to hide field 3 and 4. In other words, default value in dropdown should be 'Issue'
    and want to hide field 3 and 4 are onload without using InfoPath.
    How to achieve this? Thanks in advance!

    You can make use of jquery for the same. Add script editor webpart on the page and access the dropdown value and based on the value you get, show or hide the fields. Below are some pointers.
    http://sachinvkatkar.blogspot.in/2013/02/hide-fields-from-sharepoint-newform.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/50aa6f8d-f742-4400-82f3-7949ab1c215e/need-help-manipulating-form-fieldsrows-using-jquery?forum=sharepointdevelopmentprevious#802d9d4d-c19b-4752-a4fb-e38f40f50c51
    http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
    http://sharepointnadeem.blogspot.in/2013/09/sharepoint-showhide-list-column-based.html
    Geetanjali Arora | My blogs |

Maybe you are looking for