sumif array function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can any one suggest me the modification for the formula please?

=SUM(IF((exp!$C$3:$C$3000={4,5})*(exp!$D$3:$D$3000="School")*(exp!$G$3:$G$3000="cash"),exp!$L$3:$L$3000))

In place of {4,5} can i give cell address say A1,B1. Then how the formula
looks like?
Sincere thanks to all
Sridhar
 
You don't need to array enter if you use

=SUMPRODUCT((exp!$C$3:$C$3000=A1:B1)*(exp!$D$3:$D$3000="School")*(exp!$G$3:$G$3000="cash")*exp!$L$3:$L$3000)


otherwise

=SUM(IF((exp!$C$3:$C$3000=A1:B1)*(exp!$D$3:$D$3000="School")*(exp!$G$3:$G$3000="cash"),exp!$L$3:$L$3000))
 
Many Thanks to you Mr. Peo Sjoblom. Not only uour suggestion solved my
problem but also it reduced some of my very long formulae to fit into the
formula box. However sumproduct is not working with my data. I don't know
it may be due to my data. Any suggestions
My Sincere Thanks
Sridhar
 
Explain what not working means, give some examples, and check the data for
any anomalies.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
I am sorry i entered the formula wrongly. My sincere thanks to you Mr. Bob.
My heart felt thanks to Peo Sjoblom
Sorry for my mistake and inconvinience caused.
Sridhar
 

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