Excel Addition Question

SCNB2015

New Member
Joined
Oct 13, 2015
Messages
13
When I have WBT triggered in column C and there is an X in column E, I want the total of column D in each row WBT is triggered to appear in Cell B45.

Example: WBT is noted in C4, C5 and C8. There is an X in E4, E5 and E8. I need to add up D4, D5 and D8 and have that total placed in B45.

Does this make sense?

Please help.

Thanks!
 
Welcome to the board.

=SUMIFS(D4:D8, C4:C8, "WBT", E4:E8, "X")

Adjust ranges to suit.
 
Upvote 0
This is how I entered..
=SUMIFS(D5:D6, C5:C6, "WBT", E5:E6, "X")
Doesn't seem to want to add my D cells.

WBT is noted in C4 and C5.
I have 26 in D4 and 21 in D5.
There is an X in E4 and E5.
I added this fomula in B45 but it is not bringing the total over.
 
Upvote 0
This is how I entered..
=SUMIFS(D5:D6, C5:C6, "WBT", E5:E6, "X")
Doesn't seem to want to add my D cells.

WBT is noted in C4 and C5.

Row 4 isn't included in your formula ...
 
Upvote 0
Works for me:

[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
C​
[/td][td]
D​
[/td][td]
E​
[/td][td]
F​
[/td][td]
G​
[/td][/tr][tr][td]
4​
[/td][td]
WBT​
[/td][td]
26​
[/td][td]
X​
[/td][td]
47​
[/td][td]
F4: =SUMIFS(D4:D5,C4:C5,"WBT",E4:E5,"X")​
[/td][/tr]
[tr][td]
5​
[/td][td]
WBT​
[/td][td]
21​
[/td][td]
X​
[/td][td]
[/td][td]
[/td][/tr]
[tr][td]
6​
[/td][td]
[/td][td]
99​
[/td][td]
[/td][td]
[/td][td]
[/td][/tr]
[/table]


Are you SURE that's the EXACT formula you entered?
 
Upvote 0
F4 contains the formula that you would put in B45 or wherever you like. 47 is the result of the formula.
 
Upvote 0
Id you are still having issues, please let us know EXACTLY what you have in the following cells:
C4,C5,D4,D5,E4,and E5.
 
Upvote 0

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