+ Reply to Thread
Results 1 to 9 of 9

Multiple Lookups - calculate to one cell

  1. #1
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Multiple Lookups - calculate to one cell

    Hi all,

    Working on another sporting formula where Referees required to make one decision involving 2 x teams
    If Team #1 infringes, Team #2 is awarded an action; If Team #2 infringes, Team #1 is awarded an action.
    Using Vlookup, does not produce the correct Outcome as there is more than one cell to test.
    I believe Index(Match may be the solution, but I have not been able to figure out the correct outcome formula.
    Hope someone can assist with the right solution please.

    See attached WB

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Multiple Lookups - calculate to one cell

    Since the INDEX array is Q10:Q28 shouldn't the MATCH lookup_arrays all be P10:P28?
    Dave

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Multiple Lookups - calculate to one cell

    I have had a look at your workbook and I am afraid I don't really get what you are trying to achieve. Could you manually moxk up the matrix with just the outcomes you are expecting and why?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Multiple Lookups - calculate to one cell

    Doing as I suggest in Post#2 the returns are what I believe you indicate desired.

  5. #5
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Multiple Lookups - calculate to one cell

    Fantastic fast response thank you FlameRetired.
    That correction sorted out most of one issue. - and one other problem.

    The attached updated WB has an additional Tab Matrix-1 (3) with amended formula additional information / discussion. Hope this helps explains better.

    When a Code is selected, the formula needs to be able to sort out where the code is located and place (match?) the description into the column E or K.
    Last edited by VisionSmart; 05-22-2019 at 06:13 AM. Reason: Changes to WB info

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Multiple Lookups - calculate to one cell

    If I now understand correctly try these formulas as in the attached.

    In E15:E32
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    In K15:K32
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The first formula still returns description 'SPCode' in E19. I believe this is correct. In order to get the expected 'On Report' either B19 or I19 would have to be "Referee Action Code" 'OR'. Currently I19 is "Referee Action Code" code 'SPC'.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Multiple Lookups - calculate to one cell

    Terrific thank you FlameRetired
    Looks to be the right solution.

    Will do some further testing and advise result in a couple of days

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Multiple Lookups - calculate to one cell

    You are welcome. Thank you for the feedback.

  9. #9
    Forum Contributor
    Join Date
    04-22-2017
    Location
    AU
    MS-Off Ver
    Microsoft 365
    Posts
    291

    Re: Multiple Lookups - calculate to one cell

    Update for FlameRetired

    That formula works great thankyou.

    I have another formula requirement which I have posted separately

    https://www.excelforum.com/excel-for...-solution.html
    Last edited by AliGW; 05-25-2019 at 03:36 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 06-05-2019, 01:18 PM
  2. multiple tables, cross referencing and multiple variable lookups,
    By jonari in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2018, 01:50 AM
  3. Replies: 3
    Last Post: 07-06-2018, 02:17 PM
  4. Multiple lookups in single cell
    By koprich in forum Excel General
    Replies: 17
    Last Post: 06-17-2014, 02:10 PM
  5. Multiple Lookups in Same Cell - PLEASE HELP :(
    By cronerd in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-24-2013, 03:26 PM
  6. [SOLVED] Sumifs with multiple lookups with multiple results to lookup other values
    By malisesaucier in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-10-2013, 01:13 AM
  7. More than Multiple Lookups: Conditional Multiple Lookups
    By mohitspamz in forum Excel General
    Replies: 6
    Last Post: 11-01-2009, 03:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1