+ Reply to Thread
Results 1 to 12 of 12

Use SUMPRODUCT to calculate counts of Full and partial payments

  1. #1
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Use SUMPRODUCT to calculate counts of Full and partial payments

    Hello All,

    Attached is file pending the result i'm looking for in the yellow highlighted color. Please review and assist with an alternative solution to the challenge. What i want is a formula that would calculate the count out of the column P (June-2020) divided by column N which would display as count of 264 for full payment and 16 for partial payment without necessarily depending on a helper column which stands on it own.
    I would be very grateful if you can assist. Below is my formula please confirm if there are any changes I have to initiate.

    =SUMPRODUCT(((('Drop offs'!J:J='Payment summary'!B4)+('Drop offs'!AT1='Payment summary'!C3)+('Drop offs'!AT:AT/'Drop offs'!AP:AP<=100%))))

    Hope this finds you well.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    1. Your references in your post dont match what your file shows?
    column P (June-2020) divided by column N
    June 2020 is col K, not col P, and why would you divide June values with Aug values?

    Your posted formula...SUMPRODUCT(((('Drop offs'!J:J='Payment summary'!B4) references B4, but that column is (mostly) empty?

    2. you have headings that show eg June - 20202 - what does that represent?

    3. You have real dates on Summary sgeet, but you use text in Drop off sheet. When working with dates, you need to try and keep them all dates, that way excel has an easier time comparing them

    Take a look at your file...and your post, and try to align things between them please.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    Thanks FDibbins for the update. I have made some changes to the file kindly review and assist if it finds you well. In terms of the formula i was just trying something which was clearly incorrect.

    Please if there is any other formula to arrive at the result highlighted in yellow i would be much appreciative of the assistance.

    Attached is an updated version.

    on standby.

    Regards,
    Kwabena
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    You dont really show how you arrive at 264, 16, 11 and 557, and I the closest I can come to 264 is adding J206, J246 ans J277 for 263.55

    Walk me through how you arrive at those values please, show me what the criteria are

  5. #5
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    Well noted FDibbins and thanks for the feedback. I have populated a manual criteria from the main data (Drop offs tab) to arrive at the number highlighted in yellow under the payment summary tab where i want a formula that would operate on it own whiles displaying the exact results without necessarily depending on the yellow highlighted columns as helper columns. And also incorporate the column H "Dropped off month" to help breakdown the numbers month on month i.e. linking the column H under 'drop offs tab' to the column C4 under the payment summary tab which help when you drag to the next month on the payment summary you are going to get the right results

    Formula walk through: Divide 'j' by 'I' under the drop offs tab ,plus column 'H' equal to Cell C4 under payment summary multiply by column header 'J' equal to column 'D' under payment summary tab.

    NB: I Tried the formula below but was given me an error which seems incorrect. Please review and assist if there is any alternative formula to arrive at the correct results

    =SUMPRODUCT('Drop offs'!J2:J849,1/'Drop offs'!I2:I849)+('Drop offs'!H:H='Payment summary'!C4)*('Drop offs'!J1='Payment summary'!D3)

    Attached is an update as requested.

    Your assistance is much appreciated.

    Regards,
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    Hello FDibbins,

    It's been a while hope you had a great weekend. I would like to request for an assistance on how to make the columns absolute so when you sort any of the fields, the figures remain the same especially the ones under the "#Accounts Collected (Full)" and "#Accounts Collected (Partial)" highlighted yellow on the payment summary.

    Your assistance would be much appreciated.

    On standby.



    Regards,

    Kwabena.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,997

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    As to the formula in post #5, please try the following:
    For cells D8 and over:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For cells D9 and over:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    Thanks JeteMc for the update but it seems the results is displaying zero instead of actual counts. I would be very grateful if you can perform some few adjustment on the formula to produce the expected results. Below is snapshot for your attention.
    Attached Images Attached Images

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,997

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    I forgot to say that I changed the values in cells J1:L1 on the Drop Offs sheet to actual dates (6/1/2020, 7/1/2020 and 8/1/2020)
    With that done I get the same values in D8:E9 as those shown in post #8.
    Let us know if you have any questions.

  10. #10
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    Thanks a lot JeteMc the formula is finally working i'm so grateful for your assistance.

    Regards,
    Kwabena.

  11. #11
    Registered User
    Join Date
    09-01-2020
    Location
    Ghana
    MS-Off Ver
    office365 proplus
    Posts
    7

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    My challenge has finally been resolved thanks to all.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,997

    Re: Use SUMPRODUCT to calculate counts of Full and partial payments

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. Checking payments based on partial dates
    By flat4raanana in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2018, 01:12 AM
  2. Using Excel to Calculate Partial Payments
    By bpatters69 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2015, 06:44 AM
  3. Negative/Postive partial or full adjustment
    By Sujitha.J in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2014, 03:54 PM
  4. [SOLVED] conversion of full and partial date into full format
    By sarat47 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2014, 03:43 PM
  5. Need help calculating interst on invoices with partial payments
    By 000lynx in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-29-2013, 08:24 PM
  6. [SOLVED] Add Data for Full and Partial week
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2013, 04:20 PM
  7. macro to offset payments against invoices (full and partial)
    By bwaite87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2013, 10:55 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