+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT function to return only the sum of cells which are less than a given number.

  1. #1
    Registered User
    Join Date
    11-19-2020
    Location
    London, England
    MS-Off Ver
    Microsoft Windows 10 Pro
    Posts
    12

    Question SUMPRODUCT function to return only the sum of cells which are less than a given number.

    Hi Everyone,


    Anyone have any ideas as to how I can tweak the following working formula to return only the sum of cells which are less than a given number.

    The working formula as per my attached worksheet I have is: =SUMPRODUCT((B2:B20=17)*(D2:K20))

    The formula is returning the sum of those values which match the criteria number 17 but I would only like the values which are less than "300" returned.

    Therefore i would like the total figure in cell O2 to reflect as "110" and not "410"

    I have attached a sample worksheet for your reference.


    Many Thanks,


    Bobby.
    Attached Files Attached Files

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

    Re: SUMPRODUCT function to return only the sum of cells which are less than a given number

    How about
    =SUMPRODUCT((B2:B20=17)*(D2:K20<300),D2:K20)

  3. #3
    Registered User
    Join Date
    11-19-2020
    Location
    London, England
    MS-Off Ver
    Microsoft Windows 10 Pro
    Posts
    12

    Re: SUMPRODUCT function to return only the sum of cells which are less than a given number

    Many thanks once again for your assistance Fluff.

    You have come up trumps once again!

    Regards,

    Bobby.

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

    Re: SUMPRODUCT function to return only the sum of cells which are less than a given number

    Glad to help & thanks for the feedback.

+ 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. [SOLVED] Replace value by cell number in sumproduct function
    By DFHK in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-20-2019, 09:24 PM
  2. [SOLVED] Sumproduct return the value first cells only.
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-11-2015, 05:02 AM
  3. [SOLVED] Function to skip specific number of cells for SUMPRODUCT
    By k2theazzy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-16-2014, 03:36 PM
  4. [SOLVED] Sumproduct function to return blank instead of 0
    By sunilwadhwa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 01:46 PM
  5. [SOLVED] SUMPRODUCT or COUNTIFS to Return Sum of Numbers Meeting Year and Part Number?
    By d_striker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-27-2013, 04:01 PM
  6. Replies: 0
    Last Post: 08-28-2005, 10:54 AM
  7. [SOLVED] return cardinal number from ordinal number function - an example
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2005, 03:05 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