+ Reply to Thread
Results 1 to 3 of 3

Thread: Need a formula or macro to automatically match sets of data

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    New York, New York
    MS-Off Ver
    Excel 2003
    Posts
    25

    Need a formula or macro to automatically match sets of data

    I have two sets of transaction data. The first set is n Columns A, B and C. Column A is dates,B are transaction numbers and C is dollar amounts. The second set of transaction data is in columns H and I. Column H has transaction numbers and I has dollar amounts. I need a formula that will examin the transaction number and dollar value in columns H and I and match them off (either by putting a unique number in the adjacent cell or coloring it somehow) with the data in columns B and C. However there could be more than 1 transaction number and dollar value that could be the same in the data in columns B and C (eg transaction number JS1452 and dollar amount $350.00 could be on line 26 and line 45) so if that happens I would need the formula to take the transaction with the earliest date (which is the data in column A). Any and all answers are appreciated (even if they don't answer all parts of the question)

  2. #2
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,398

    Re: Need a formula or macro to automatically match sets of data

    Hi mike,

    Please attach a sample file. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +919810929744
    dilipandey@gmail.com

  3. #3
    Valued Forum Contributor
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    455

    Re: Need a formula or macro to automatically match sets of data

    I suggest to use helper column. See the attachment.
    Hope it match.
    Attached Files Attached Files
    Click the star icon in left-corner of my post if you find my post userful!

    Quang PT
    quangphanidico@yahoo.com
    PM me: Y!M: quangphanidico

+ 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.2.0