+ Reply to Thread
Results 1 to 11 of 11

Sumproduct/countifs

Hybrid View

  1. #1
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct/countifs

    Maybe this...

    =SUM(SUMIF(C:C,{"July","August","September"},D:D))/SUM(COUNTIF(C:C,{"July","August","September"}))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Registered User
    Join Date
    07-10-2014
    Location
    Waco, TX
    MS-Off Ver
    2010
    Posts
    63

    Re: Sumproduct/countifs

    That is the ticket! Thank you very much, Mr. Valko

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct/countifs

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

  4. #4
    Registered User
    Join Date
    07-10-2014
    Location
    Waco, TX
    MS-Off Ver
    2010
    Posts
    63

    Re: Sumproduct/countifs

    Oops! Hmm. Mr. Valko, the formula is giving me a DIV/0 Error because there are blank cells. Is there a work-around for that?

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct/countifs

    Empty cells should not cause an error unless ALL of the cells are empty.

    You'll get the #DIV/0! error if the COUNTIF = 0.

    You could get an incorrect result if cells in column D are empty but the corresponding cells in column C contain one of the criteria months.

    Which column has the empty cells?

+ 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] Is there a way to combine COUNTIFS and SUMPRODUCT?
    By ogbugsy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2013, 08:18 AM
  2. COUNTIFS and SUMPRODUCT help
    By Stacy1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2013, 02:35 PM
  3. [SOLVED] COUNTIF vs COUNTIFS vs SUMPRODUCT
    By FASTiger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2013, 01:44 AM
  4. HELP CONVERT SUMPRODUCT to COUNTIFS
    By chie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-09-2013, 07:35 AM
  5. Using SUMPRODUCT instead of COUNTIFS
    By SymphonyTomorrow in forum Excel General
    Replies: 12
    Last Post: 11-18-2011, 05:01 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