+ Reply to Thread
Results 1 to 11 of 11

matching data rows from one sheet to another for a data return

  1. #1
    Registered User
    Join Date
    03-18-2013
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question matching data rows from one sheet to another for a data return

    I need help matching data from one sheet to another.

    For example:

    I need a formula that matches the customer name on sheet 1, to the customer name on sheet 2, but returns all relevant data on the rows such as:
    Acct No; Cash-OnHand ; NonCash Amt; Non-Cash Code; Total Deposit; Deposit Guide Estimate


    Can this be done?

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: matching data rows from one sheet to another for a data return

    See attachment
    Attached Files Attached Files
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: matching data rows from one sheet to another for a data return

    Hi and welcome to the forum

    are you trying to sum the data from sheet2 onto sheet1?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-18-2013
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: matching data rows from one sheet to another for a data return

    Thanks everyone, I need all the help I can get with this. The Spreadsheet is only a small sample of the monster I have to go through which has about 80000 records.

    I have one sheet that contains 1 Group Name (ex: isle of venice) and the 2nd sheet that will contain all the detail associated with that name.

    What I am trying to do is create a formula that will find the name on the 2nd sheet and provide all the account detail associated with the names on another sheet. In many cases, one name will have more than one acount, therefore I would need the detail for each row. Instead of me having to do the equivalent of CTRL+F and Copy/Paste the rows which will take forever.

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: matching data rows from one sheet to another for a data return

    On the attachment, I only give you example how to sum with criteria.
    For Acct No and Non Cash Code, I don't think you want to sum the data.

  6. #6
    Registered User
    Join Date
    03-18-2013
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: matching data rows from one sheet to another for a data return

    I actually don't need to SUM the data because the SUM'd data is what I have on sheet 1. So I have 300 condensed names and those names appear within the list of 80000. So I would need a return on the exact data per row that matches the name on sheet 1.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: matching data rows from one sheet to another for a data return

    ok so having exactly the same answer over multiple rows (for the same account) would be ok?

  8. #8
    Registered User
    Join Date
    03-18-2013
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: matching data rows from one sheet to another for a data return

    the name would be the common denominator, and the rest of the data is unique to the Account Number

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: matching data rows from one sheet to another for a data return

    If you could use exactly the same headings onboth sheets, you could use =index/match...

    =IFERROR(INDEX(Sheet1!$A$1:$D$5,MATCH(Sheet2!$L2,Sheet1!$A$1:$A$5,0),MATCH(Sheet2!R$1,Sheet1!$A$1:$D$1,0)),"-")

  10. #10
    Registered User
    Join Date
    03-18-2013
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: matching data rows from one sheet to another for a data return

    wow! thanks, that is a super long formulat that i would never be able to create. Thanks so much. Let me try it out to see if it works and it will let you know.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: matching data rows from one sheet to another for a data return

    Actually, its pretty simple when you break it down...
    index(range, row-to-search-in,column-to-search-in)
    match(what-to-look-for,row-or-column-range-to-find-it-in,0) zero is for exact match.
    so....
    index(range, match(what-to-look-for,column-range-to-find-it-in,0),match(what-to-look-for,row-range-to-find-it-in,0))
    then I used iferror() to catch the times when what you are looking for, isnt found

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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