+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT formula not working past a certain point

  1. #1
    Registered User
    Join Date
    03-15-2019
    Location
    Yorkshire
    MS-Off Ver
    2016
    Posts
    6

    SUMPRODUCT formula not working past a certain point

    Hi all, I previously posted a thread asking for a formula. It worked...up until a few rows down and it stopped working. But i can't figure out because I have copied the formula into all relevant cells.

    this is the formula I have used:
    =SUMPRODUCT((LEFT('Payment Details'!$D$5:$D$1000,7)=$E16)*('Payment Details'!$B$5:$B$1000=F$15)*('Payment Details'!$A$5:$A$1000))

    It does not work past row 21 on the 'Banking Sheet'

    Any help is greatly appreciated! Thanks,
    Attached Images Attached Images

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: SUMPRODUCT formula not working past a certain point

    there's nothing obvious with the ranges nor amounts (given explicit coercion) so this implies either

    a) your values in E contain leading / trailing spaces or
    b) your values on Payment Details contain leading spaces (Col D), or your Cash values for those rows contain spaces

    I would say the most likely cause is likes of E21 containing trailing space(s) - to confirm add a TRIM around the reference to $E16 and copy down.

    On an aside, if the tabs are in the same file you should be using SUMIFS as much more efficient, i.e. no obvious requirement for SUMPRODUCT here

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If, using above pointers, you're unable to resolve post a sample to better illustrate (GoAdvanced --> Manage Attachments)

  3. #3
    Registered User
    Join Date
    03-15-2019
    Location
    Yorkshire
    MS-Off Ver
    2016
    Posts
    6

    Re: SUMPRODUCT formula not working past a certain point

    Quote Originally Posted by xlent View Post
    there's nothing obvious with the ranges nor amounts (given explicit coercion) so this implies either

    a) your values in e contain leading / trailing spaces or
    b) your values on payment details contain leading spaces (col d), or your cash values for those rows contain spaces

    i would say the most likely cause is likes of e21 containing trailing space(s) - to confirm add a trim around the reference to $e16 and copy down.

    On an aside, if the tabs are in the same file you should be using sumifs as much more efficient, i.e. No obvious requirement for sumproduct here

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    if, using above pointers, you're unable to resolve post a sample to better illustrate (goadvanced --> manage attachments)
    thank you so much!!!!!!!!

+ 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. SumProduct Formula not working
    By Steve2107 in forum Excel General
    Replies: 2
    Last Post: 02-05-2016, 05:28 AM
  2. Aging report formula not working for 0-30 days past due
    By Lorir1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-04-2015, 01:12 PM
  3. [SOLVED] Copy one cell and past to multiple black cells using a Dim anchor point
    By mariannehislop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2014, 09:55 AM
  4. [SOLVED] SMALL formula working up to a point, then fails
    By LoneWolf3574 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2013, 06:00 AM
  5. Replies: 4
    Last Post: 01-03-2013, 03:29 PM
  6. SUMPRODUCT formula not working
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-28-2010, 12:26 PM
  7. SumProduct Formula not working
    By jfwidt in forum Excel General
    Replies: 6
    Last Post: 02-03-2010, 05:18 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