SUMIF Formula....

gjs1985

New Member
Joined
Feb 2, 2019
Messages
4
Office Version
  1. 2013
Hi,

Please see below an example of what I am trying to solve:

2cs9fdk.jpg


I'm trying to return the sum of all numbers in columns C, D & E but only where column B is "Ongoing". As you can see, the answer should be 2165 but using the following formula only gives the result of 560:

=SUMIF(B:B, "Ongoing", C:E)

For some reason it is only summing up the figures in column C and not looking to columns D or E.

Any help would be greatly appreciated.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Check Excel's help for Sumif.


Excel 2010
BCDE
160160160
2Total
3Ongoing10
4Ongoing202020
5Ongoing303030
6XX100100100
7
1d
Cell Formulas
RangeFormula
C1=SUMIF(B3:B5,"Ongoing",C3:C5)
D1=SUMPRODUCT((B3:B10="ongoing")*(C3:E10))
E1=SUMIF(B3:B10,"Ongoing",C3:C10)+SUMIF(B3:B10,"Ongoing",D3:D10)+SUMIF(B3:B10,"Ongoing",E3:E10)
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top