Array Formula trouble

ike92

New Member
Joined
Mar 26, 2015
Messages
6
I am using Excel 2010 and am having trouble using an array formula with multiple criteria. Here are a couple of the cells below.
a b c
StateFirmAssets
PAApollo25000
NYCDD9001
WIApollo68999
CACPA8888
MIApollo 232323
VAApollo43000

<tbody>
</tbody>

I am using these three columns in the array.

I need to find the sum of the assets based on the firm in certain states.
For example, I need to find the sum of the assets for Apollo in PA, WI and VA.

Right now, this is the formula I am using, and it is returning 0.

{=sum(if(and(A:A="Apollo", or(B:B="PA", B:B="WI", B:B="VA")) C:C))}

What is the correct function to find the sum of the assets?

Thank you so much in advance!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Welcome to the board.

Try
=SUM(SUMIFS(C1:C100,A1:A100,"Apollo",B1:B100,{"PA","WI","VA"}))
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,313
Members
449,153
Latest member
JazzSingerNL

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