+ Reply to Thread
Results 1 to 4 of 4

Finding matches and adding additional data

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Finding matches and adding additional data

    Greetings from down under!

    Sheet 2 in the attached sample workbook (without all the pre-existing formula's from the original) contains data that I paste in (Cols A to D).
    Sheet 1 then searches that data (minus Col D) from Sheet 2 and returns "Yes" to Col I if matching data is found.

    What I would like to do now is if Sheet 1 returns "Yes" then the corresponding value from Sheet 2 would be returned to Sheet 1 Col J.

    So in this example the value "5" would be returned to Sheet 1 Cell J1

    I already have all the formulas in place to find the matches and return "Yes", this is just to return the additional information from Col D Sheet 2 to Sheet 1 Col J

    Hope that makes sense.
    Cheers
    Hammer
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    170

    Re: Finding matches and adding additional data

    Enter this formula in J1

    {=IF(Sheet2!$A:$A=Sheet1!$C1,IF(Sheet2!$B:$B=Sheet1!$D$1,Sheet2!$D:$D,""))}

    It's an array formula, so you need to enter it using ctrl+shift+enter

    B2 and C2 in your example were the same, so I only included one in the criteria.

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Finding matches and adding additional data

    Many thanks cffndncr
    It is now up and running.
    Note: As I will be entering multiple lines to sheet 2 at the one time I removed the $ from the formula and it pulled down okay without using it as an array formula. It is working so I think that is okay.

    Cheers
    Hammer

  4. #4
    Forum Contributor
    Join Date
    02-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    170

    Re: Finding matches and adding additional data

    Glad it's all worked out for you

    If this takes care of your problem, please mark the thread as [Solved]

+ 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: 1
    Last Post: 02-06-2014, 03:00 PM
  2. Finding exact matches through a lot of data?
    By yakabod in forum Excel General
    Replies: 5
    Last Post: 10-09-2012, 02:48 AM
  3. Finding last row in data row that matches criteria
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2009, 02:13 PM
  4. Adding additional data to a pivotchart
    By PearlJam in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-21-2009, 09:58 AM
  5. Adding additional data to a pivot chart
    By zasskar in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-05-2006, 04:23 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