Search a List Using Another List in Excel 2010

VLOOKUP is maxing out and refusing to complete my search request.  I am querying a list of 199,000 rows with another list of 48 rows.  Excel says it is too hard.  Is there another way to do this?  (The answer posted on this site by an
earlier responder to a similar question was not helpful.  I do not want to use FIND to search name-by-name through the bigger list).
Doug in York PA
Douglas R. Eckert

Firstly, would you please let us know what's your formula and source data looks like?If the VLOOKUP function indeed cant complete your search request,the VBA dictionary or sql  should be a good option for you.
Using VBA dictionary way to lookup value:
Sub Test()
Dim ds
Dim i&, irow1&, irow2&, j%, arr, arr1, arr2
Dim s
Application.ScreenUpdating = False
Set ds = CreateObject("scripting.dictionary")
irow1 = [A1048576].End(xlUp).Row
arr = Range("A1:A" & irow1)
irow2 = Sheets(1).[A1048576].End(xlUp).Row
arr1 = Sheets(1).Range("A1:B" & irow2)
arr2 = Sheets(1).Range("A1:B" & irow2)
On Error Resume Next
For i = 1 To irow2
ds.Add arr1(i, 1), i
Next
Err.Clear
On Error GoTo 0
For i = 1 To irow1
If arr(i, 1) <> "" Then
s = ""
s = ds(arr(i, 1))
If s <> "" Then
arr2(i, 1) = arr1(s, 2)
End If
If s = "" Then
arr2(i, 1) = ""
End If
End If
Next
[B1].Resize(irow1, 1) = arr2
Application.ScreenUpdating = True
End Sub
If you are not  familiar with VBA code or you just wanna another workaround,please fell free to let us know.

Similar Messages

  • How to skip from one list to another list in interactive report?

    Hi Friends,
    How to skip from one list to another list in interactive report that means now i am in 7 th list how to skip 4th list ?
    Or  now i am in 7 th list how to skip 9th list ?
    can anybody send sample code please.
    Thanks in advance.

    hi,
    at line-selection.
    case sy-lsind.
    when 9.
    sylsind = 4.
    endcase.
    try like this when u r in 9th list next it goes to 4 th list

  • Performance issues when using Smart View and Excel 2010

    Hello, we are experiencing very slow retrieval times when using Smart View and Excel 2010. Currently on v.11.1.3.00 and moved over from Excel 2003 in the last quarter. The same spreadsheets in 2010 (recreated) are running much slower than they used to in 2003 and I was wondering if anyone else out there has experienced similar problems?
    It looks like there is some background caching going on as when you copy and paste the contents into a new file and retrieve it is better.....initially. The size of the files are generally less than 2mb and there aren't an expecially large number of subcubes requested so I am at a loss to explain or alleviate the issues.
    Any advice / tips on how to optimise the performance would be greatly appreciated.
    Thanks,
    Nick

    Hi Nick,
    Office 2010 (32 bit) only is supported.
    Also check these documents:
    Refresh in Smart View 11.1.2.1 is Slow with MS Office 2010. (Doc ID 1362557.1)
    Smart View Refresh Returns Zeros (Doc ID 758892.1)
    Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    Thank you,
    Charles Babu J
    Edited by: CJX on Nov 15, 2011 12:21 PM

  • No search results when using custom list search

    Hi,
    I've built a custom list in SharePoint Online , which was supposed to be a new tracker. It was a combination of 3 different DBs. I combined the data in excel, scrubbed it and synced the data into my sharepoint list using Access. The question: Why
    don't I have any entries showing when I use the seach box within my list? It comes up with nothing found? I don't have SharePoint Admin rights, I'm just a site owner. Which elements should I look into first to make sure that my entries are found? Any help
    will be greatly appreciated. Thank You.

    Hi WSBR.Darius,
    After you added data into the custom list, if you want to search the items, you also need to run a crawl for your content source.
    However, for SharePoint 2013 Online, continuous crawls are enabled in SharePoint Online, with crawl frequencies managed by Microsoft. You need to wait for finishing continuous crawl.
    More information about Search feature in SharePoint Online:
    https://technet.microsoft.com/en-us/library/jj819291.aspx?f=255&MSPPError=-2147217396
    In addition, as this issue is about SharePoint 2013 online, I suggest you create a new thread on Office 365 forum, more experts will assist you with SharePoint Online.
    Office 365 forum:
    http://community.office365.com/en-us/f/default.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Create a list in another list

    Hi,
    Is it possible to create nested lists in Sharepoint 2013?
    My requirement is to create a list for some groups like (group1, group2,group3 etc..).
    This list will have 3 columns for group name, type and description.
    And when a group is selected I want to see another list in it with some columns like user properties.
    Is this possible? I am a SharePoint power user, so please excuse if this is an unusual question!
    Thanks

    You can't nest lists.
    However you can have lookup columns which bring data from other lists. This basic relational structure may grant what you want.
    Alternatively, Managed Metadata fields can be used to create a hierarchy several levels deep.
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • Javascript help to copy selected items from one list to another list on same site

    Hello,
    So I have a request that I am not sure how to handle. I have created a page with a list view webpart that displays all the items from one list.
    The user is then supposed to select off multiple list items and click on a button (most likely a ribbon button) that will take the selected items and copy them to another list on the same SharePoint site.
    I would like to do this with JavaScript, but have only found an example that copies library items to another library.

    Hi KansaiKel,
    According to your description, my understanding is that you want to copy selected list items to another list.
    I suggest you can use JavaScript Client Object Model to achieve it.
    Here is a code snippet for your reference:
    <script type="text/javascript">
    var context = SP.ClientContext.get_current();
    var siteUrl = 'http://sp2013sps/sites/test';
    var clientContext = new SP.ClientContext(siteUrl);
    var web = context.get_web();
    context.load(web);
    var sourceId = SP.ListOperation.Selection.getSelectedList();
    var source = web.get_lists().getById(sourceId);
    var oList = context.get_web().get_lists().getByTitle('Copy');
    context.load(oList);
    var selectedItems = SP.ListOperation.Selection.getSelectedItems(context);
    alert('debut');
    for(var i in selectedItems)
    var currentItem = source.getItemById(selectedItems[i].id);
    context.load(currentItem);
    context.executeQueryAsync(Function.createDelegate(this,test),Function.createDelegate(this,error));
    function test(sender, args){
    var itemCreateInfo = new SP.ListItemCreationInformation();
    var oListItem = oList.addItem(itemCreateInfo);
    oListItem.set_item('Title', currentItem.get_item('Title'));
    oListItem.update();
    oList.update();
    alert('done');
    function error(sender, args){ alert('error');}""
    </script>
    Here is a detailed article for your reference:
    Complete basic operations using JavaScript library code in SharePoint
    Best Regards
    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]
    Zhengyu Guo
    TechNet Community Support

  • Component to allow the user to build a list from another list's items

    Hello everybody,
    I'm looking for a widget that allows the user to create a list by choosing from items from another list.
    Something like the tool to customize the button bar in MS Office or MS Explorer. You can see an example of what I'm talking about:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents/displayedcolumns.gif
    It would be easy to program a component like this (and I've already found some piece of code by Googling), but I'd like to know if someone made a stable Swing component of it to avoid reinventing the wheel.
    Thanks in advance.

    There is one here
    http://www.geocities.com/nirajkagarwal/html/ListSelect
    or.htmlThanks, I already found this one via Google but I was looking for something more "professional".
    It seems the apache project team made a utility to
    control elements in a list...it seems very generic
    (maybe over-flexible if there is such a thing...) and
    really needs a tutorial !!!
    http://incubator.apache.org/uima/apidocs/org/apache/ui
    ma/tools/util/gui/ListSelector.htmlYes, it really looks like a work in progress.
    I'll wait some more to see if other readers come with links, then I'll start coding my own ListSelector ;-)
    NB: another example of what I want to accomplish is shown in figure http://java.sun.com/products/jlf/ed2/book/images/SelectableList1.gif

  • Creating SharePoint Custom List using a list using a Microsoft.SharePoint.Client.ClientContext object: Lists.Add method from existing Template does not Include Template Content (include content was checked for template)

    The code below works assuming you have a list template setup called "GenTasksTemplate".
    The problem is that even though the check box to include content was checked during the creation of the template, the task items in the new list do not get populated.  What am I missing?
    using System;
    using System.Linq;
    using Microsoft.SharePoint.Client;
    protected void createSPlist(object sender, EventArgs e)
    ClientContext context = new ClientContext("https://sharepointServer/sites/devcollection/");
    var web = context.Web;
    ListTemplateCollection ltc = context.Site.GetCustomListTemplates(context.Web);
    ListCollection siteListsColection = web.Lists;
    context.Load(ltc);
    context.ExecuteQuery();
    ListCreationInformation listCreationInfo = new ListCreationInformation
    Title = "New Task from Template",
    Description = "Tasks created from custom template"
    Microsoft.SharePoint.Client.ListTemplate listTemplate = ltc.First(listTemp => listTemp.Name == "GenTasksTemplate");
    listCreationInfo.TemplateFeatureId = listTemplate.FeatureId;
    listCreationInfo.TemplateType = listTemplate.ListTemplateTypeKind;
    listCreationInfo.DocumentTemplateType = listTemplate.ListTemplateTypeKind;
    //listCreationInfo.CustomSchemaXml =
    siteListsColection.Add(listCreationInfo);
    context.Load(siteListsColection);
    context.ExecuteQuery();
    http://www.net4geeks.com Who said I was a geek?

    Yes. I can create a list with the template using the UI.  I can also create list programmatically using the Microsoft.SharePoint library within a Windows Forms Application.  If I do create a provider-hosted app referencing Microsoft.SharePoint,
    it results in a 64bit / 32bit mismatch error.  I am running SharePoint 2013 on a 64 bit Windows 2012 Server.
    The problem is that with a provider-hosted SharePoint App, I am limited to only using the Microsoft.SharePoint.Client library which is very limited.
    http://www.net4geeks.com Who said I was a geek?

  • How to reopen PowerPivot field list from Pivot chart in Excel 2010

    Hi
    I can't figure out how to open the PowerPivot fields list without having a PowerPivot table. In several sheets I use PowerPivot, but insert a PivotChart directly as a PivotTable isn't needed. It works well as long as the field list is open, but once I click
    away and come back the fields list is missing and right-clicking the PivotChart only offers up chart related options. I have a few times gotten lucky and seen "Pivot fields list" as the bottom option when righ-clicking the edge of the PivotChart
    allowing me to bring it back up, but I can't replicate this on a regular basis. Is there a keyboard shortcut or some ribbon option that will open the field list?
    Re
    D

    Yes, I know and that part works, but I need a 2010 version as v1 and v2 of PowerPivot are incompatible.
    Re
    D
    Hello,
    The PowerPivot field list becomes visible when you are working with a PivotTable or PivotChart that is based on PowerPivot data.
    Regards,
    Elvis Long
    TechNet Community Support

  • List referencing another List elements

    Hi,
    I have list of objects.
    ArrayList<Bar> listBar = new ArrayList<Bar>();
    listBar.add(new Bar("1", "3"));
    listBar.add(new Bar("21", "4"));
    listBar.add(new Bar("4", "5"));
    listBar.add(new Bar("6", "7"));
    listBar.add(new Bar("2", "8"));
    ArrayList<Bar> list2 = new ArrayList<Bar>();
    list2 should contain all listBar elements.
    list2 should have reference of listBar elements.
    if i update element of list2, it should not be updated to element in listBar.
    i tried with list2.addAll(listBar);
    but if i perform
    Bar b = list2.get(2);
    b.setName("Bob");
    listBar is updated as well. Please clarify how to go about this?
    Thanks.

    The simple answer to this question, as you may have gathered, is that you do not go about doing this at all. The long answer is spread throughout the posts above mine, but I will summarize (if only to gain some forum "karma"). First, when adding objects to 'listBar', you are really adding references (a.k.a pointers) to those objects. By copying the contents of 'listBar' to 'list2', you are merely copying those references. Any modifications to the objects the references point to will, therefore, be reflected in both lists. That behavior is correct, making your second and third requirements mutually exclusive.
    The long answer is almost too embarrassing to post. As stated in a previous response you could make the objects immutable, preventing all modifications to the referenced objects (e.g. the String class). You could copy the objects rather than using references to existing objects. This would allow modifications to be made to the objects stored in either list, but any gains in functionality would have the added costs of RAM and the responsibility of keeping the lists synchronized (not in the multithreading sense of the word). It is also possible to make specific property changes "veto-able." This would be achieved by using the JavaBeans API (http://www.oracle.com/technetwork/java/javase/documentation/spec-136004.html). (Please forgive the atrocity I am about to commit.) By extending the ArrayList class and overriding certain methods, the list itself could become an "observer" of its contents with the ability to throw an exception when certain changes are made to them, allowing others to proceed without error. I have sample code, but do not want to corrupt the mind of a student...

  • Is it possible to create a new List from another List's template and NOT carry over the associated Workflow?

    Related to
    this post, in cases where it's desirable to have two different workflows for two different Lists—is it possible to NOT bring forward a hardwired workflow when creating a new List from a saved template?
    I.e. List #2 still has the workflow from List #1 hardwired in.  List #1 still needs its workflow but List #2 wants to have a separate Workflow.

    More importantly, because it's relatively easy for most folks to just start from scratch with a new Workflow—how does one disassociate a carried-over Workflow from the new List?
    Use the web-GUI. (List Settings > Workflow Settings)
    From Designer, there's a shortcut button at the top of the page in the Workflows tab: "Administration Web Page".

  • I am trying to connect my server using an Ethernet to router and want to search the internet using another wifi router. How can I accomplish this?

    I have a small storage server and want to connect to it via Ethernet.  I also want to connect the internet using a separate Wifi router from my provider.  How can I do both?

    Set the service order to have wifi first.
    System Preferences > Network > Click on the gear > Set Service order

  • How to Update multiple items in other list using event handler?

    Hi All,
    If i update a item in a list, then i should update multiple items in another list need to be update. How to achive using event receivers?

    Hi Sam,
    According to your description, my understanding is that you want to update multiple items in another list when updated a list item.
    In the event receiver, you can update the multiple item using Client Object Model.
    Here is a code snippet for your reference:
    public override void ItemUpdated(SPItemEventProperties properties)
    string siteUrl = "http://sp2013sps/sites/test/";
    ClientContext clientContext = new ClientContext(siteUrl);
    List oList = clientContext.Web.Lists.GetByTitle("another list name");
    ListItem oListItem = oList.GetItemById(1);
    oListItem["Title"] = "Hello World Updated!";
    oListItem.Update();
    clientContext.ExecuteQuery();
    Best regards,<o:p></o:p>
    Zhengyu Guo
    Zhengyu Guo
    TechNet Community Support

  • SPListItem deleting save the list item into another list.

    Hi Friends,
    Using SPList Item deleting event receiver ,before deleting the item I want save the list item to the another SharePoint list.
    How can we do this using event receivers.Please help me anyone.
    Thanks,
    Tiru
    Tiru

    Before delete the item, use the below logic
    http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint
    or
    You can do this by 2 workflows one creating list item by copying and second workflow on the copied item which will delete the original list item.
    http://sharepoint.stackexchange.com/questions/93441/move-items-from-one-list-to-another-list-using-sharepoint-designer-2010
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/100c0b3c-72d9-4427-a48f-8300be508aa2/how-do-i-copy-the-items-in-a-sharepoint-2010-list-to-another-list?forum=sharepointgeneralprevious

  • Using SharePoint Lists.AddAttachments web service in LiveCycle

    Hello everyone,
    I have implemented a workflow process that saves data from a PDF form to a SharePoint list, using its Lists.UpdateListItems web service.  This works fine with no issues.  Now, I am trying to take this a step further by also attaching the associated PDF form to the list item, using the AddAttachments web service, but have been unsuccessful.  I keep getting an empty web response back.
    Has anyone been able to use this web service successfully within LiveCycle, particularly with PDF documents?  Please let me know, any help would be appreciated. 
    Thanks,
    cdmh

    Hi rdoe,
    Do you have any update for this issue?
    Whether you checked as Dats said.
    In addition, if you have found a solution for this issue, please share it, it will be beneficial to others in this forum who meet the same issue in the future.
    Best Regards,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

Maybe you are looking for