Return Multiple Items with One Lookup Value

Hi there,
Within my data set there are multiple values that I would like to return into a different table.
For example:
In the "players from australia" table I would like to search the main data set for the "AUS" tag in column B and then automatically display the names of those players.
There was something similar posted a few days ago Search sheet and return associated values for multiple matches and I tried to apply those formulas to my data but it didn't work...perhaps slightly different application of the function.
fyi: the "category" table is simply to add up the number of players from each country and return a numerical value, as opposed to the names. I also use it as the cell from which to determine which value to search and display, i.e. A2 for the AUS players to be displayed in the empty table.
Any help would be greatly appreciated!!
Ed.

You could try something like this:
The formula in the Index column, copied down:
     =B2&COUNTIF(B$1:B2,B2)
The formula in A2 of the Players From table, copied down and right:
    =INDEX(Table 1::$A,MATCH(A$1&ROW()−1,Table 1::$D,0),)
To suppress the display of the red warning triangles, you can wrap that in IFERROR, like this:
     =IFERROR(INDEX(Table 1::$A,MATCH(A$1&ROW()−1,Table 1::$D,0),),"")
This takes the value in row 1, appends the row number it's on less 1, and uses MATCH to find what row contains that value in the Index column of the other table. That row number is fed to INDEX, which returns the value from column A.
SG

Similar Messages

  • Importing Multiple Items in One Document from Goods Receipt (With Serial)

    Hi guys,
    Can you render an example of a multiple items with Serial in one document uploading to Goods Receipt?
    Thank you

    Good Day Sir
    What I did is.
    The Serial BaseLineNum is same as LineNum in DocLines
    Serial Record Key is same as the Documents and Document Lines Record Key
    Serial Line Num is incremented starting 0.
    But I have come up an error
    IGN1.WhsCode Ln9
    'ItemCode* cannot be released from stock without a full selection of serial/batch no.'
    Application-defined or object-defined error
    65171
    Thanks Sir

  • Select or deselect multiple rows with one single selection  event

    Does anyone know how to create a JTable which can select or deselect multiple rows with one single selection event in JTable. Fore example, if the table has
    row1
    row2
    row3
    row4
    row5
    row6
    What I need is when user select row1 or row2, both row1 and row2 should be set to be selected. Then if user press CTRL and click one of row3 or row4, both of them should be selected including the previouse selected row1 and row2.
    For deselection, if row1 and row2 are selected, when users deselect one of row1 or row2, both of them should be deselected.
    Hopefully someone can give me a hint.

    Here is a partial solution using a JList. Only one line gets highlighted when the user makes a selection in the list. But, two lines are returned. There is a blank line between every two lines.
         private void addLineToList() {
              String a = f_one.getText();
              String b = f_two.getText();
              if (a.length() == 0) {
                   Utils.showInformationMessage("Item field is empty.");
                   f_one.requestFocusInWindow();
                   return;
              if (b.length() == 0) {
                   Utils.showInformationMessage("Match field is empty.");
                   f_two.requestFocusInWindow();
                   return;
              model.addElement("item: " + a);
              model.addElement("match: " + b);
              model.addElement(" ");
              int size = model.getSize();
              pairList.setSelectedIndex(size - 3);
              f_one.setText("");
              f_two.setText("");
              f_one.requestFocusInWindow();
         private void editList() {
              if (pairList.getSelectedValue().toString().equalsIgnoreCase(" ")) {
                   Toolkit.getDefaultToolkit().beep();
                   f_one.requestFocusInWindow();
                   return;
              if (!f_one.getText().equals("")) {
                   int result = JOptionPane.showConfirmDialog(this,
                   "The Item field contains text. Replace the text?",
                   "Flash Card Activity", JOptionPane.YES_NO_OPTION,
                   OptionPane.INFORMATION_MESSAGE);
                   if (result == JOptionPane.NO_OPTION) return;
              if (!f_two.getText().equals("")) {
                   int result = JOptionPane.showConfirmDialog(this,
                   "The Match field contains text. Replace the text?",
                   "Flash Card Activity", JOptionPane.YES_NO_OPTION,
                   JOptionPane.INFORMATION_MESSAGE);
                   if (result == JOptionPane.NO_OPTION) return;
              String item = "";
              String match = "";
              int index = pairList.getSelectedIndex();
              String choice = model.getElementAt(index).toString();
              if (choice.startsWith("item")) {
                   item = choice;
                   match = model.getElementAt(index + 1).toString();
                   model.remove(index);
                   model.remove(index);
                   model.remove(index);
              else {
                   item = model.getElementAt(index - 1).toString();
                   match = choice;
                   model.remove(index + 1);
                   model.remove(index);
                   model.remove(index - 1);
              int size = model.getSize();
              if (size > 2) {
                   pairList.setSelectedIndex(size - 2);
              f_one.setText(item.substring(6));
              f_two.setText(match.substring(7));
              f_one.requestFocusInWindow();
         }

  • Deleting multiple items in one click

    Hi Guys
    My iTunes has been reset and has for some reason added all the songs on my computer twice = about 120GB when it should only be 60GB.
    I'm sure there used to be a way to delete multiple items in one click but the only way I can seem to do it is by doing it individually after click view duplicates, this clearly isn't practical for over 5500 songs.
    Thanks for the help!

    Thanks for the answer.
    If I understand it correct, If I have an invoice of 10+ items, there is no possibility to delete 5 items for example with one click?
    I have to the delete the 5 items one by one or delete the whole invoice and start again?
    Thanks.

  • Can't select multiple items with shift key os 10.7

    I can use command A to select all, and I can select multiple items with command and individually clicking each one, but not using Shift and clicking on the first and last items.  Any ideas?

    You need to display the window in column or list view. Shift-clicking items won't do that in icon view.
    (64793)

  • Create multiple folders with one click on documents tab in BP in SAP CRM

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

  • [svn] 889: Add test case for BLZ-82 where HttpService should return multiple headers with the same name .

    Revision: 889
    Author: [email protected]
    Date: 2008-03-21 13:08:05 -0700 (Fri, 21 Mar 2008)
    Log Message:
    Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-82
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi again,
    this may be old news to some people, but I just realized we can have the desired benefits I originally listed (encapsulation, reuse, maintainability, security) TODAY by using pipelined functions and using the table() function in Apex report region queries.
    So the report query basically becomes, for example (if get_employees is a pipelined function)
    select * from table(my_package.get_employees(:p1_deptno))
    The only downside compared to a (weakly typed) sys_refcursor is that you have to define the type you are returning in your package spec (or as an SQL type). So it's a bit more coding, but it's still worth it for the other benefits it provides.
    I like Apex even better now! :-)
    - Morten

  • Multiple iPhones with one one computer

    I was using multiple iPhones with one one computer, each iPhone device has it's Owen Apple ID. When I connected my device. I got my mothers photos, contacts & applications. All my applications are deleted, is there a way to retrieve my iPhones photos and applications ?

    Sign out of your mom's account in itunes, then sign in with your account, then restore your phone from your itunes backup.

  • Multiple selections to multiple layers or multiple files with one go ?

    Hi,
    how to convert multiple selections to multiple layers or multiple files with one go ?
    Thanks!

    You may want to ask over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
    or
    http://ps-scripts.com/bb/
    I think there are Scripts about for the task or at least ones that could be adapted without too much problems.
    The usual approach is, I think, creating a Work Path from a Selection and then using (expanded) Selections based on the individual subPathItems to intersect with the original selection.
    Of course there are possibilities for bad results …

  • Photoshop crashes while using multiple windows with one image

    Has anyone else encountered the following problem:
    Photoshop CS4 crashes sooner or later when working with multiple windows with one image (window->arrange->new window for...).
    I remember having same problem since CS2. Is this a bug in Photoshop or am I having a bad luck?
    Technical specifics:
    Ps CS4, iMac, 21.5, 10.6

    Don't know.  I haven't heard of other people having that problem.
    Do you have a crash report I could look at?
    Or have you attached your email to crash reports sent to Adobe and can you tell me the date on one of them?

  • Create multiple delivery with one invoice

    Hi all,
    can you tell me how to do multiple delivery with one invoice,
    i tried in vf01 by giving their my 3 delivery nos but it is generating three invoices
    pls explain this in details
    points will be rewarded
    regards,
    smmmmmm

    Dear Sameer
    As per your requirement run the Tcode VF04 (Billing Due list) and select the Delivery Documents for which you want to to have single Billing Document by clicking on Collective Billing document/Online  Push Button in that screen.
    To Have Single Billing Document for Multiple Delivery you need to have Payer,Terms of Payment,Incoterms(part 1 and part2) same for all materials orelse the billing document will split and this split analysis is visible during creating of Billing document.
    Hope this will help you in solving your problem.
    Regards
    PSH

  • Returning multiple items

    I am working on a script that does extensive logging, both to the console and to a log file. For a number of reasons I have adopted a logging mechanism of adding to a logging array and then periodically pushing the array to the logging function for processing.
    Now I have a function that when successful will return a string. But there are a number of places where an error could happen, and I want to evaluate all of them and return all failures, rather than have users need to fix one thing, run the script, find
    a new thing and fix it, run the script... So, when there is an error I need to return an array, which I can then append to the array in the calling function. And when successful I return the string.
    My question is, am I better off returning both the string and the array, which I think I read can be done. Or returning one or the other, and the calling function has to test the returned value for type to determine if the call was successful or not? Or
    is there maybe an even better approach? My other thought, which I had as I typed, is to return an object, with a string member and an array member. Curious if I am on the right track with that late night thought.
    Thanks!

    I agree with Al, that you have a lot of questions and we really aren't able to give you advice on how to structure your script.
    That being said, this is something I've done for long script logging.  I'm sure there are better ways to do it, and some or none of this may help you or be useful/meaningful/appropriate for your project, but it will give you a an object with error and
    success that you can sort and evaluate as you see fit.  
    In some ways this is probably reinventing the wheel, YMMV.  It's been useful to me.
    $FileName = $MyInvocation.MyCommand.Name
    $LogFile = ".\$($FileName -replace '\.ps1')_Log.csv"
    If (Test-Path $LogFile){
    $i=0
    While (Test-Path "$($LogFile -replace '\.csv')_v$i.log") {$i++}
    Rename-Item $LogFile "$($LogFile -replace '\.csv')_v$i.csv"
    $LogObject = @{}
    $Error.clear()
    Function Log-Info ($LogType, $LogData) {
    $LogElement = New-Object PSObject -property @{Type=$LogType;Data=$LogData;Time=((Get-Date).ToString())}
    $LogElement | Export-CSV $LogFile -Append
    $LogObject += $LogElement
    <#
    Do Something {
    Check if something happened
    If (successful) { Log-Info "Success" "Do Something Succeded" }
    Else (failed/Error) { Log-Info "Error" "Do Something didn't" }
    #>
    <#
    Try {
    Do something else
    Log-Info "Success" "Something else succeded"
    } Catch {
    Log-Info "Error" "Something else failed"
    #>
    # catch anything I didn't plan for
    if ($Error.count -ne 0) {
    for ($i=$Error.Count-1; $i -ge 0;$i--) {
    Log-Info "Error" @($Error[$i].Exception.Message)
    I hope this post has helped!

  • How do I create multiple TEBs with one submit button on one page in Captivate 7

    I've read other posts on this topic (which refer primarily to earlier versions of Captivate) and am still at a loss as to how to put multiple text entry boxes on a page with one submit button. Here's my scenario:
    I am creating test questions.
    Each test question has multiple text entry boxes (for numbers only).
    Student should be able to enter numbers into the textboxes in any order.
    Then there is one Submit button that should initiate validating all the text entries, and move to a scoring page (so I can test it). (What would be best is if this button not only did the above, but also submitted scores to the LMS.  But that is not my question at this time.)
    I'd like this question to be set up as a template so that I can duplicate it, be able to add or delete text boxes and change the values required in the text boxes.  
    Here is an image of a sample question page with multiple TEBs. The yellow boxes tell the student where they need to enter text:
    Any help or direction to help is appreciated!!

    I think the problem here is that Arlhoolie wants all of the different TEBs to behave as if they were part of a single interaction that submits only ONE result to the quiz.  Using multiple TEBs in Captivate means that you have multiple scored objects and therefore multiple results being submitted to the quiz.
    If you want a single Success or Failure result submitted to the quiz based on the results from multiple interactive objects then there really is no simple way to do it.  But you could try using the Infosemantics Interactive Master widget to combine all the TEBs as slave objects that report to the Master Widget, which then reports a single score to the quiz based on the results from the slave objects.
    You can learn more about the Master widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/interactive-master
    http://www.infosemantics.com.au/interactivemaster/help
    You can download a free trial version of the widget here:
    http://www.infosemantics.com.au/adobe-captivate-widgets/download-free-trial-widgets
    One caveat you should be aware of is that this widget is not HTML5 compatible.

  • Set multiple items with javascript function in chart link

    Hi Folks
    I am able to use the javascript $s function to set the value of one item from a chart link. I need to pass values to multiple items.
    Is there a way to use javascript function to pass values for multiple items on a page from a chart link
    Appreciate your responses
    Thanks
    Gopal

    Hi Arnau,
    You need to surround your JavaScript code like this (without the spaces before and after script):
    < script language="Javascript">
      window.open("<%=ABAP_VARIABLE%>").focus();
    </script >
    Regards,
    Patrick.

  • CAML Query returning all items with date condition

    HI,
    I have a problem doing a query with CAML over the elements of a calendar in SharePoint 2013
    I just want to retrieve all items, which have been modified on a particular date. But below query returns all items from the Calendar.
    Any suggestion how to get specific items from the calendar. The same issue exists for start date  and end date.
      var oWebsite = clientContext.get_web();
        this.collList = oWebsite.get_lists();
        var camlQuery1 = new SP.CamlQuery();
       camlQuery1.set_viewXml(
       '<query><Where>'+
          '<Eq>'+
             '<FieldRef Name=\'Modified\'  IncludeTimeValue=\'TRUE\'/>' +
             '<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
          '</Eq>'+
       '</Where></query>');
        this.collListItem1 = oList.getItems(camlQuery1);
        clientContext.load(collListItem1);

    Firstly try to make this change in your query and see if that helps
    camlQuery1.set_viewXml(
    '<View><Query><Where>'+
    '<Eq>'+
    '<FieldRef Name=\'Modified\' IncludeTimeValue=\'TRUE\'/>' +
    '<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
    '</Eq>'+
    '</Where></Query></View>');
    Geetanjali Arora | My blogs |

Maybe you are looking for

  • I deleted all my artwork but it shows up on itunes NOT my ipod

    Well I had followed this person's idea to add artwork BUT instead it DELETED ALL MY ARTWORK! BUT its still on itunes, but doesnt show up on my ipod..anyone know how to help? PLEASE "I had the same problem and was getting the unhelpful error message "

  • Quicktime installation failed -3

    Not really helpful - now itunes doesn't work AGAIN. Every update is another break. Ok, how do I fix this???? Now itunes will not work because it needs Quicktime 7.03 or later. Ahhhhh!!

  • I want the gui of the java be like windows

    hi i have already frame i made it by drag and drop and when i make design preview , it's be like windows in the shape of the buttons , frames and tool bar but when i make run to the code .it appear by default view .. how when i make run .. the gui be

  • PO Printing issue

    Hi All, We have a issue when one particular user is printing the PO the Quantity 3 is printing as 2, but when I tried to print it it is printing correct s 3.  When I tried to print at users Printer is printed incorrect. What could be the reason for t

  • Can we create partitions in an existing table?

    Hi, Can we create partitions in an existing table which has about a million rows? I am using oracle 9i database. Can any one suggest me on this please.