+ Reply to Thread
Results 1 to 5 of 5

Find a Match, Copy a Cell

  1. #1
    Registered User
    Join Date
    10-21-2014
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    7

    Find a Match, Copy a Cell

    I am trying to find a formula for the following situation:

    I have two separate lists of numbers associated with a price. The numbers in both lists have the same prices but one list has a description associated with it. There are also the same number with difference prices and difference descriptions.

    I need to find a way to add the description from one list to the list without a description.

    I have attached a sample workbook.Sample Workbook.xlsx

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Find a Match, Copy a Cell

    Enter this formula in H3 and copy down

    =IFERROR(INDEX($C$3:$C$17,INDEX(MATCH(F3&G3,$A$3:$A$17&$B$3:$B$17,0),0)),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find a Match, Copy a Cell

    Range concatenation is inefficient especially on large data sets.

    Try this array formula** entered in H3 and copied down:

    =IFERROR(INDEX(C$3:C$17,MATCH(1,(A$3:A$17=F3)*(B$3:B$17=G3),0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    10-21-2014
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Find a Match, Copy a Cell

    Some of the descriptions in column C are different descriptions even though the number in Column A/F and price in Column B/G may be the same. Is there a way to capture the different descriptions.

    So there may be multiple Number 1s with a price of $0 but a different description for each Number 1.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Find a Match, Copy a Cell

    How about updating the sample file with the results you expect.

+ 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] find match data and copy to another cell
    By hanif in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-15-2015, 12:20 PM
  2. [SOLVED] find match data and copy to another cell
    By hanif in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-06-2015, 10:25 AM
  3. Match and copy cell value to the row where it find the match
    By excelboy23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2014, 03:30 AM
  4. [SOLVED] VBA code Error: find the records that match the criteria in a specified cell and copy
    By meer_ali in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-02-2014, 03:30 AM
  5. find, match and copy
    By myguess21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-17-2013, 11:04 PM
  6. [SOLVED] Find match, find related cell and return that number
    By HelpHelpHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2012, 06:46 AM
  7. [SOLVED] Find a Match and Copy
    By aviatecar in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-09-2012, 09:43 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