+ Reply to Thread
Results 1 to 14 of 14

Matching payments and invoiced amounts

  1. #1
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Matching payments and invoiced amounts

    Hi there,

    I have a bit of a conundrum. I need to reconcile payments and invoiced amounts on a single spreadsheet that shows negative amounts for invoiced and positive amounts for payments received.

    There are operational reason why I cannot do this through our bank statements and bank references, all I have is the date, account name and amounts.

    I have tried using an array function determining matching number and it works where there are only one negative and one positive number but where there are more negative than positive amounts I hit a bit of roadblock.

    If you take a look at the attached data, rows 2 - 4 contains exactly the problem.

    Posting Date Description Amount Test
    2018/02/05 A Arcu Associates -297.00 1
    2018/02/22 A Arcu Associates 297.00 2
    2018/02/23 A Arcu Associates -297.00 1

    I need the Test column to match row 2 and 3 as 1 and row 4 as 2 i.e. 1,1,2


    Your help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Matching payments and invoiced amounts

    How are you to know that Row 2 & 3 are related?

    What if Row 4 negative amount was dated say 10/2/2018, how do you know which payment relates to which invoice?

  3. #3
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Re: Matching payments and invoiced amounts

    We are reconciling 317 000 records, the purpose of the exercise is to check for accounts that do not balance at the end of the period, the billing is usually the same for each client every month unless there has been a major change on their account, so for example they will be invoiced 199 every month, therefore wee do not need to know which invoice is matched with which payment just which invoices have not been paid.

  4. #4
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    How about a macro that will mark “0” (in col D) for every positive-negative pair & the rest will be marked “1”.
    Is that solution acceptable for you?

  5. #5
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Re: Matching payments and invoiced amounts

    Akuini, That is exactly what I am looking for.

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: Matching payments and invoiced amounts

    Try in "D2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy paste down


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  7. #7
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Re: Matching payments and invoiced amounts

    Thanks avk, you're on the right track but I have tried something similar before, it runs into a small problem where there are multiple negative numbers with less positives. See the table below after applying your formula.

    Posting Date Description Amount Test
    2018/02/01 Ac Associates -338.00 1
    2018/02/04 Ac Associates -338.00 1
    2018/02/05 Ac Associates -338.00 0
    2018/02/22 Ac Associates 338.00 1
    2018/02/05 Ac Mattis Velit Corp. -556.00 1

    Extracted from Row 7 to 11 from the sample set.

    In this case, I need any of the -338 to match with the 338 and show 0 in both rows.

  8. #8
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    Ok, try this

    Please Login or Register  to view this content.

  9. #9
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    An example, using the code above:

    Excel 2013 32 bit
    C
    D
    1
    Amount Test
    2
    3
    0
    3
    8
    0
    4
    8
    1
    5
    -8
    1
    6
    22
    0
    7
    22
    0
    8
    22
    1
    9
    1
    0
    10
    12
    0
    11
    -22
    1
    12
    -6
    0
    13
    -6
    1
    14
    6
    1
    15
    7
    0
    16
    8
    0
    Sheet: Sheet3

  10. #10
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    Ah, sorry I think I swapped the mark. So the ones with "1" are the positive-negative pair.

  11. #11
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Re: Matching payments and invoiced amounts

    Akuini, thank you so much for your time spent on this, you are on the right track, it matches the number pairs but does not take the account description into consideration.

    Please see the below:

    Posting Date Description Amount Test
    2018/02/05 Auctor Foundation 850 1
    2018/02/05 Consectetuer Adipiscing Associates -850 1
    2018/02/05 Hendrerit Corporation 850 1
    2018/02/05 Imperdiet Nec Leo Consulting -850 1
    2018/02/05 Risus Foundation -850 0

    In the above case I filtered on 850 after applying your macro, none of these should be matched since the descriptions are not the same, so 0 should be in the test column.

  12. #12
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    Ah, you right, I should take the account description into consideration.

    Please Login or Register  to view this content.


    If you want to change the mark, you can change it in these lines:

    Please Login or Register  to view this content.
    and
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    09-10-2014
    Location
    South Africa
    MS-Off Ver
    2016
    Posts
    13

    Re: Matching payments and invoiced amounts

    Hi Akuini,

    Thank you so much!

    It works perfectly!

  14. #14
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Matching payments and invoiced amounts

    You're welcome, glad to help, & thanks for the feedback.

+ 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: 6
    Last Post: 09-26-2018, 05:11 PM
  2. Formula to make dollar amounts a round number for payments
    By C.j. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2015, 02:11 PM
  3. Get the missed payments of Loan (no. of days & amounts)
    By chergian in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-12-2014, 08:22 AM
  4. Sum Payments on two worksheets after matching the invoice number
    By AMFISH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2014, 10:36 AM
  5. Automatically converting non GBP payments into GBP amounts.
    By Soggy Egg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2014, 07:29 AM
  6. matching duplicates then looking up corresponding amounts
    By Dklunchoo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2005, 10:05 PM
  7. Matching cheque payments to invoices
    By Eddie in forum Excel General
    Replies: 6
    Last Post: 05-18-2005, 02:06 AM

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