+ Reply to Thread
Results 1 to 3 of 3

Finding sum of invoices for Total Amount received.

  1. #1
    Registered User
    Join Date
    02-07-2016
    Location
    Dammam
    MS-Off Ver
    2010
    Posts
    34

    Finding sum of invoices for Total Amount received.

    Dears,

    This issue made me uneasy since 3 years, it might be easy but I don't know how to figure it out.

    I have 25 invoice number and its amount. I received payments from clients, however they are not sending the breakup, invoices.
    So I find difficult to get things done.

    example:
    Inv No. 2578 Amount USD. 75800.00
    Inv No. 3758 Amount USD. 25700.00
    Inv No. 1758 Amount USD. 1570.00
    Inv No. 235 Amount USD. 235700.00

    Now I get payment for USD 27270.00

    Now I need find out for how many invoices for the amount USD 27270.00 is received. Like wise I have hundred of invoices to find.

    Is there any VBA to find random numbers total exactly.

    Your help will be very much useful.

    Regard
    ebincharles

  2. #2
    Registered User
    Join Date
    12-31-2015
    Location
    Barreiro, Portugal
    MS-Off Ver
    MS Office 365
    Posts
    84

    Re: Finding sum of invoices for Total Amount received.

    Hi,

    Although I'm not 100% sure, I believe Solver can be used for this.

    I've tried to use it but since I had to many values duplicate, it was no good for my cases.

    Try to search for Solver sum combinations since unfortunately it's a tool I don't fully dominate and so wouldn't be able to help if anything went wrong.

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Finding sum of invoices for Total Amount received.

    As Rui said Solver can be used for this but if you have duplicates Solver can not tell you which duplicate value is the "right" one. Then there is always the possibility that there may be more invoice combinations that may add up to the total amount and again which one is the one you are looking for?

    And even if there are more possible combinations Solver will only find one as long as the parameters are not changed. So in your example a Solver solution could look like this:

    solver_solution.jpg

    Perhaps more useful is the macro that Tushar Metha wrote, this will find all possible combinations of numbers that adds up to a given total.

    See link

    http://www.excelforum.com/excel-gene...-up-to-it.html

    post #5 for comments and Tushar Metha file.

    Alf

+ 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. Count Amount of Days Support Received in a Set Period
    By mrsdeapsleap in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2016, 02:23 PM
  2. To find exact invoices from list that matches receipt amount.
    By nitinmb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2016, 05:35 AM
  3. Replies: 1
    Last Post: 07-21-2015, 08:29 AM
  4. Finding the total amount within a date range.
    By jcarey5225 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2015, 09:34 AM
  5. Need Macro to find match for invoices. With the Amount
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-22-2012, 08:03 AM
  6. Replies: 0
    Last Post: 10-30-2012, 06:40 AM
  7. Replies: 1
    Last Post: 03-27-2006, 12:35 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