+ Reply to Thread
Results 1 to 5 of 5

Returning value based on several matches?

  1. #1
    Registered User
    Join Date
    08-21-2019
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    1

    Returning value based on several matches?

    So i'm having a small issue here. In the image the columns are on the same sheet, but in reality columns A and B are on their own, long list and E, F and G are their own sheet. So if pair from columns A and B matches with pair from E and F, return value would be the value from column G, and from the same row that the match of E and F came from. Is that even possible?

    Capture1.PNG
    Last edited by Hezepena; 08-22-2019 at 01:40 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: Returning value based on several matches?

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Returning value based on several matches?

    As long as you're confident that each PointA & PointB combination in E:F is unique, then a simple SUMIFS will do:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or SUMPRODUCT:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Returning value based on several matches?

    array formula entered with Ctrl+Shift+Enter:
    =IFERROR(INDEX(G$2:G$8,MATCH($A2&$B2,$E$2:$E$8&$F$2:$F$8,0)),"")
    Click the * to say thanks.

  5. #5
    Forum Contributor
    Join Date
    12-22-2017
    Location
    INDIA
    MS-Off Ver
    EXCEL 2007
    Posts
    106

    Re: Returning value based on several matches?

    Use Concatenate and Vlookup functions. Attached the sample file.
    Attached Files Attached Files

+ 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. [SOLVED] Returning ALL Unique Matches
    By Footnah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2019, 08:37 PM
  2. [SOLVED] Returning Multiple Matches Using LARGE or MAX
    By viclea in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 03-18-2019, 11:03 AM
  3. [SOLVED] Help returning a name only when it matches 2 criteria
    By Ksun23 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-09-2017, 07:37 AM
  4. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  5. Returning results based on matches
    By masond3 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-11-2013, 11:30 AM
  6. Replies: 11
    Last Post: 07-05-2012, 08:03 AM
  7. Returning all matches
    By Krussadams in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2006, 03:28 PM

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