+ Reply to Thread
Results 1 to 6 of 6

Excel SUMIF function does not return the sum of cells that meet a single condition

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

    Question Excel SUMIF function does not return the sum of cells that meet a single condition

    Hi Everyone,


    Anyone have any ideas as to why the following SUMIF and SUMPRODUCT formulas I am using don't appear to be working correctly?

    =SUMIF(B2:B58,M2,D2:K58)

    and

    =SUMPRODUCT((B2:B58="2")*(D2:K58))

    I have attached a sample worksheet for your information.


    Many Thanks,


    Bobby.
    Attached Files Attached Files
    Last edited by BOBBY RUSSELL; 11-26-2020 at 04:18 PM.

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

    Re: Excel SUMIF function does not return the sum of cells that meet a single condition

    Remove the quotes from around "2" in your sumproduct.

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

    Re: Excel SUMIF function does not return the sum of cells that meet a single condition

    Thanks Fluff.

    Any ideas with the SUMIF?

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

    Re: Excel SUMIF function does not return the sum of cells that meet a single condition

    You cant use the sumif for that data, as it will only sum the data in col D where col B=2
    Also because the ranges are not the same size it's volatile.

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

    Re: Excel SUMIF function does not return the sum of cells that meet a single condition

    Hiya Fluff,


    Ok thanks for your assistance and swift responses.

    I won't forget to add to your reputation.

    Many thanks once again.


    Kind Regards,


    Bobby.

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

    Re: Excel SUMIF function does not return the sum of cells that meet a single condition

    You're welcome & 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. Count Value of Cells that meet a certain condition
    By cdhampshire in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-17-2020, 06:09 AM
  2. Return top values that meet a certain condition
    By ggmm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-04-2013, 05:54 PM
  3. [SOLVED] Array Formula to Lookup and Return All Rows in Table that Meet Single Criteria
    By Torkel74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2013, 10:41 PM
  4. MIN of only cells that meet condition
    By jbc242 in forum Excel General
    Replies: 4
    Last Post: 06-27-2011, 12:18 PM
  5. Replies: 6
    Last Post: 05-18-2011, 02:03 PM
  6. Average cells which meet condition
    By raydaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-02-2008, 11:26 AM
  7. [SOLVED] In excel counting cells in a range which meet condition ">Xand<X"
    By Uncivil Servant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2006, 09:45 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