+ Reply to Thread
Results 1 to 10 of 10

Sum payments based on payment received range, count payments based on ID and package

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    BOSSIER
    MS-Off Ver
    2013
    Posts
    21

    Sum payments based on payment received range, count payments based on ID and package

    Hello,
    I am trying to do 3 things with my data: 1. Sum my Payments Received based on a specified range: < 30 days, between 30-59 days, between 60-90 days and > 90 days based on today's date; 2. Count the number of payments within each range; 3. Count the number of packages within each range (payments are grouped by package ID). I have tried SUMIF and SUMPRODUCT but neither is working, I know I am doing something wrong, just not sure what it is. Any help would be greatly appreciated. I am using Excel 2013.

    Attached is a sample project and below is the table I am trying to fill in.


    Payments Received Range Amount Paid Invoice Count Package Count
    < 30 days
    30-59 days
    60-90 days
    > 90 days
    Attached Files Attached Files
    Last edited by STINSON; 11-07-2016 at 04:52 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: Sum payments based on payment received range, count payments based on ID and package

    Following are formulas that will work for Amount Paid and Invoice Count respectively:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The references to column J are for the bin numbers (ranges). In order to understand what a formula for Package Count could be it would be helpful if you would provide the values that you would expect to see in that column.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    04-16-2015
    Location
    BOSSIER
    MS-Off Ver
    2013
    Posts
    21

    Re: Sum payments based on payment received range, count payments based on ID and package

    Thank you very much for your response! It worked perfectly for Amount Paid and Payment Count. I had to alter the formula for Payment Count to 9000 from 99^99 but it gave me the correct count. I have edited my sample workbook to better reflect what I am trying to accomplish with Package Count. Some invoices are paid with multiple payments and I am trying to count how many invoices have been paid within the specified ranges. This will result in double counting in cases where an invoice has multiple payments that span different ranges but in the case that my invoice does not span different ranges, I only want it counted once. Please see the attached, updated sample data.

    Thank you for your assistance.
    Attached Files Attached Files
    Last edited by STINSON; 11-08-2016 at 12:51 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: Sum payments based on payment received range, count payments based on ID and package

    It would help if you could manually enter the numbers that you expect a formula to display for the range H3:H6.

  5. #5
    Registered User
    Join Date
    04-16-2015
    Location
    BOSSIER
    MS-Off Ver
    2013
    Posts
    21

    Re: Sum payments based on payment received range, count payments based on ID and package

    Please see the updated spreadsheet with the manual entry of the values expected.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: Sum payments based on payment received range, count payments based on ID and package

    Added another helper column (J) which is populated using the array entered formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note that J6 is 'hard wired' with the number 2 which is assumed to always be the first date in the range.
    Column H is then populated with the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let us know if you have any questions.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-16-2015
    Location
    BOSSIER
    MS-Off Ver
    2013
    Posts
    21

    Re: Sum payments based on payment received range, count payments based on ID and package

    Thank you for your response. I really do appreciate your help.

    Can you explain the numbers in the helper column (J)?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: Sum payments based on payment received range, count payments based on ID and package

    Those numbers represent the row in which the 'Payment Received Range' changes. If you change the date in B10 to the 15th of August the row reference in J5 changes to 10 because the 'PRR' now changes from >90 days to 60-90 days at row 10.
    If that takes care of your question and the formulas are working as desired, please select Thread Tools from the menu link above your first post and mark this thread as SOLVED. Thank You for the feedback. I hope that you have a blessed day.

  9. #9
    Registered User
    Join Date
    04-16-2015
    Location
    BOSSIER
    MS-Off Ver
    2013
    Posts
    21

    Re: Sum payments based on payment received range, count payments based on ID and package

    Thank you for the explanation and all of your help.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,542

    Re: Sum payments based on payment received range, count payments based on ID and package

    You're Welcome

+ 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. Contract payments where the last payment is different
    By Robine13 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2015, 10:10 AM
  2. Replies: 0
    Last Post: 04-09-2015, 01:42 PM
  3. [SOLVED] Loan Payment Schedule with Interest-Only Payments & P & I Payments
    By Masscatz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-20-2014, 11:51 AM
  4. equalized payments with varying time between payments
    By eastwoodsd28 in forum Excel General
    Replies: 6
    Last Post: 08-28-2008, 10:35 AM
  5. Replies: 0
    Last Post: 08-29-2005, 11:04 AM
  6. How do I forecast future payments by analyzing past payments?
    By CeeBee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2005, 03:06 PM
  7. [SOLVED] Calculating Due Dates Based on Payments
    By Eric Hanson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2005, 11:06 PM

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