Sumif()?????

  • Thread starter Thread starter a94andwi
  • Start date Start date
A

a94andwi

Hello.

I want to do a complex sumif calculation that I can not get to work.

I have these columns.
Automatically created safety buffer =ACSB
Manuall safety buffer = MSB
Stock value =SV

I want to sum all rows where MSB>ACSB

I though it was possible to do like this:

=SUMIF(MSB;MSB>ACSB;SV)

This doesn't work. Is it possible to do it this way or do I have to d
it another way
 
thank you. =SUMPRODUCT(--(MSB>ACSB),SV) worked very well.

Now I need to add another criteria in the above to show the correct
values.
I want to add a new column, lets call it SYS and do this:

I want to sum all rows where MSB>ACSB AND SYS="E"

I guess it should be able to do it this way:

=SUMPRODUCT(((MSB>ACSB)*(SYS="E")),SV) and it returns a value. The
thing is that it seems to be wrong when I count it manually.

Is the formula above correct?
 
thank you. =SUMPRODUCT(--(MSB>ACSB),SV) worked very well.

Now I need to add another criteria in the above to show the correct
values.
I want to add a new column, lets call it SYS and do this:

I want to sum all rows where MSB>ACSB AND SYS="E"

I guess it should be able to do it this way:

=SUMPRODUCT(((MSB>ACSB)*(SYS="E")),SV) and it returns a value. The
thing is that it seems to be wrong when I count it manually.

Is the formula above correct?
 

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

Back
Top