SUM/IF Forumlas

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
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))
 
Upvote 0
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")
 
Upvote 0
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")
 
Upvote 0
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>
 
Upvote 0

Forum statistics

Threads
1,214,625
Messages
6,120,598
Members
448,973
Latest member
ksonnia

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