+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT and SUMIF

  1. #1
    Registered User
    Join Date
    03-06-2019
    Location
    Prague
    MS-Off Ver
    MS Office 2016
    Posts
    14

    Question SUMPRODUCT and SUMIF

    Hello.

    I am trying to create Sumproduct formula to calculate the total sum of deviations between OB and CC if deviation is >0 (I expect to receive 7). With this formula '=SUMPRODUCT(B17:F17-B18) I receive -23 that is sum of all deviations. How to create a formula, that would calculate only positive deviations without creating a separate row with deviations?


    wk1 wk2 wk3 wk4 wk9
    OB 6 15 30 24 27
    CC 25 25 25 25 25
    -19 -10 5 -1 2

    CURRENT -23 =SUMPRODUCT(B17:F17-B18)
    EXPECTED 7



    Thank you in advance!
    Last edited by AlisaS; 03-06-2019 at 07:57 AM.

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

    Re: SUMPRODUCT and SUMIF

    a sample file would have, but perhaps:

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

  3. #3
    Registered User
    Join Date
    03-06-2019
    Location
    Prague
    MS-Off Ver
    MS Office 2016
    Posts
    14

    Re: SUMPRODUCT and SUMIF

    It works! Thank you very 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. Combine sumif/sumproduct or sumproduct with multiple criteria
    By sab128 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2018, 08:25 AM
  2. Replies: 2
    Last Post: 06-21-2017, 06:32 PM
  3. [SOLVED] Sumif and SumProduct
    By littlefoot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2012, 11:32 AM
  4. Replies: 0
    Last Post: 08-17-2012, 02:02 PM
  5. Sumif or Sumproduct
    By Jim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-16-2005, 05:35 PM
  6. HELP!!!! sumif or sumproduct ??? :(
    By Wally in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  7. SUMPRODUCT OR SUMIF? with <= and >=
    By LavaDude in forum Excel General
    Replies: 1
    Last Post: 06-29-2005, 01:05 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