+ Reply to Thread
Results 1 to 9 of 9

One to many items match

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    7

    One to many items match

    I have a workbook where i need to match many amounts to one amount.. i even tried reading an other post in this forum, but i could not find one.

    Please help me out

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: One to many items match

    Hi Pavan,

    Welcome to the forum.

    Do you want to match many amounts (many cells) to one amount (one column)?
    I believe a sample file will facilitate better understanding, click on "Go Advanced" while replying and look for paper clip icon to attach the sample file. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: One to many items match

    Sorry for being so late! am attaching the file now..
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: One to many items match

    Okay.. but you have not mentioned which amount (cell reference) need to be matched with what amounts (range reference) ?

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    03-09-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: One to many items match

    Hello,

    It is in the column "D".

    both positives and negative amounts are in the same column and the offsets should be identified.. and i do not know how!


    Pavan.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: One to many items match

    Hi Pavan,

    column D has many values (negatives / positives).. what you need ? do you need the row numbers of next available matches?

    See the attached file where I have tried obtaining a match of a cell which is highlighted in yellow.. you can get some hint from that. thanks.




    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-09-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: One to many items match

    Hi,

    where column D has too many positive and negative values, i would want to find out the direct offset, when summed up would
    result in zero. (eg = +45-45)

    i have attached another wb wherein i've highlighted cells, which i expect to be my result.

    i could not find out a way to crack this

    Thanks!
    Pavan.
    Attached Files Attached Files

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: One to many items match

    sorry... still not clear.

    This data you already have..
    column D would always be there..
    In column D, there would be some positive and negative number.. that's fine
    now what ?

    Do you want to highlight the common numbers.. like 45 and then -45 ?
    do you want some information to be extracted from column D or form the table to another location ?

    would want to find out the direct offset, when summed up would result in zero
    can you show an example of above... ? do it manually and I will try a formula for that

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: One to many items match

    Hi Pavan_Jack

    Welcome to the Forum!

    I've modified some Bank Reconciliation code I have (Adapted from http://www.sqldrill.com/excel/genera...um-amount.html) that appears to do as you require. Let me know of issues.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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