+ Reply to Thread
Results 1 to 15 of 15

Troubleshooting SUMPRODUCT #VALUES error

  1. #1
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    MS Office 2019
    Posts
    22

    Troubleshooting SUMPRODUCT #VALUES error

    Hello how could exception handling relevant cells winch not number, cause VALUES error exception in the attached spreadsheet
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Troubleshooting SUMPRODUCT #VALUES error

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

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Troubleshooting SUMPRODUCT #VALUES error

    You are trying to coerce the values in column A to numbers using the double-minus, but this will cause errors if the cell is blank. However, they are already numbers, so you don't need to do that. I prefer to arrange the conditions first, and the numbers to be added after, so try it this way:

    =SUMPRODUCT(--(B10:B12=B12),A10:A12)

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    MS Office 2019
    Posts
    22

    Re: Troubleshooting SUMPRODUCT #VALUES error

    Thank you it works
    Last edited by pozso123; 01-13-2023 at 11:14 AM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Troubleshooting SUMPRODUCT #VALUES error

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: Troubleshooting SUMPRODUCT #VALUES error

    C12=sumproduct((n(+a10:a12))*(b10:b12=b12))

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Troubleshooting SUMPRODUCT #VALUES error

    Pete's formula works for me. Did you copy it or type it?

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Troubleshooting SUMPRODUCT #VALUES error

    Glad to help & thanks for the feedback.

  9. #9
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    MS Office 2019
    Posts
    22

    Re: Troubleshooting SUMPRODUCT #VALUES error

    So why that Sumproduct show 0 result if i try use isnumber or iserror function case of one condition, but iserror works only with "or" conditional additional tag.
    Attached Files Attached Files

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Troubleshooting SUMPRODUCT #VALUES error

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

  11. #11
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    MS Office 2019
    Posts
    22

    Re: Troubleshooting SUMPRODUCT #VALUES error

    So with sum i can filter only 1 conditional but i can filter more with sumproduct and sumifs?

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Troubleshooting SUMPRODUCT #VALUES error

    So with sum i can filter only 1 conditional but i can filter more with sumproduct and sumifs?
    No.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    02-04-2021
    Location
    Csatar
    MS-Off Ver
    MS Office 2019
    Posts
    22

    Re: Troubleshooting SUMPRODUCT #VALUES error

    I don't want to be mean-hearted about excel and I'm really just asking for efficiency, is there any way that makes it faster to perform a function? Because I noticed a slowdown in the PC while evaluating the functions

  14. #14
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Troubleshooting SUMPRODUCT #VALUES error

    Maybe reduce the range:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  15. #15
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Troubleshooting SUMPRODUCT #VALUES error

    You just need SUMIF if column E is valid numbers.

    =SUM(SUMIF(D:D,{"To CIB*","To AXI*"},E:E))

    Notice the * in the texts
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ 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. Troubleshooting SUMPRODUCT with Dates
    By pozso123 in forum Excel General
    Replies: 12
    Last Post: 11-01-2022, 10:16 AM
  2. Floor Plan Macro - Need help troubleshooting 'Run time error 9' error message
    By liddy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2021, 03:23 AM
  3. [SOLVED] Troubleshooting syntax error
    By Mr_Phil in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2021, 11:08 PM
  4. Troubleshooting Sumproduct and Countif formula
    By dcgrove in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-15-2008, 04:19 AM
  5. troubleshooting SUMPRODUCT
    By rob_barbour in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2007, 01:50 PM
  6. SUMPRODUCT troubleshooting
    By CathB in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2006, 10:10 AM
  7. New to Sumproduct, need troubleshooting
    By DavidPhillips in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2005, 11:53 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