SUMIFs that meets one of 3 particular criterias

banneduser123

Banned - Rules violations
Joined
Mar 29, 2006
Messages
181
Hi, I have a SUMIF formula that accomplishes what I want it to:
=ROUND(SUMIF('Sheet'!$O:$O, "Common Stock", 'Sheet'!$R:$R)/1000000,0)

in that if any items says "Common stock" in column O of 'Sheet', then it will sum up the balances of all those items. (column R contains the balance)

however,


I'd like to change this formula so that it will sum up any items that meet either or 1 of multiple criteria,

meaning, if an items says either "Common stock" OR "Equities" OR "Fund" then it will sum up all those items.

Anyone know how to change my formula to accomplish this?

Hopefully I was clear...
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I have another question.

so using the formula you gave, what if I wanted to add another criteria that is coming from a different column?

for instance, in column B it has to say 'Bank'
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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