SUM/IF Forumlas

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I think the easier way to look at that is that you are only trying to sum the cells that are Free or Bonus:

=SUM(SUMIF(A3:A12,{"Free","Bonus"},D3:D12))
 

wist

Board Regular
Joined
Nov 8, 2012
Messages
79
definitely easier what Scott mentioned but if you only know what words not to include then this should work
Code:
=SUMIFS(B2:B12,A2:A12,"<>Mom",A2:A12,"<>Dad",A2:A12,"<>Lisa")
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Assuming OP also wants the "un-categorized" SUMed also:


Book1
ABCD
1TypesTotalsTotals Filtered
24
3Bonus8
4Mom5
5Dad2
6Lisa1
712
8Free5
92
10Bonus3
112
12Mom2
134636
Sheet1
Cell Formulas
RangeFormula
D13=SUMIFS(C2:C12,A2:A12,"<>Mom",A2:A12,"<>Dad",A2:A12,"<>Lisa")
 

mgoldie1

New Member
Joined
Apr 18, 2017
Messages
14
Thanks everyone. That helps a lot!!



Hi,

Assuming OP also wants the "un-categorized" SUMed also:

ABCD
1TypesTotalsTotals Filtered
24
3Bonus8
4Mom5
5Dad2
6Lisa1
712
8Free5
92
10Bonus3
112
12Mom2
134636

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D13=SUMIFS(C2:C12,A2:A12,"<>Mom",A2:A12,"<>Dad",A2:A12,"<>Lisa")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
You're welcome.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,016
Messages
5,834,956
Members
430,330
Latest member
drAli77

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
Top