NEED HELP WITH FORMULA, possible an array

B

bridgeb3

I have a spreadsheet with the following columns:
Plant (D), Cases In (E), Cases Out (F)

I want to pick a column (plant) and for every row that has CASSVILLE in
it, I want to add the number of cases in

I thought I could use =SUM(IF(D5:D100="CASSVILLE",E5:E100) but this is
just giving me =REF.

Please help me out on what formula I should be using.

Thanks,
Barry Bridges
 
B

bridgeb3

After re-reading this, I also want to make clear that I want to have a
total of all of the rows that have CASSVILLE in them.
 
C

CarlosAndres

With the total for each case (plant) select the cell where you want to
have te result and use the SUM.IF formula, just follow the
instructions.
And for having the total rows for each case use COUNT.IF
If the number of rows is getting larger is it good to setup the
formulas with much larger ranges.
I hope this help you out.

Carlos

Sorry if a had any spelling problem. English is not my natal language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top