IF OR AND

B

bob

If $J2:$J20000 = "to" and $L2:$L20000 or $N2:$N20000 = $B2, then I want to
SUM $AV2:$AV20000

Can anyone kindly help me with an array formula for this? Thank you.

Bob
 
T

T. Valko

Try this. Normally entered:

=SUMPRODUCT(--($J2:$J20000="to"),--(($L2:$L20000=$B2)+($N2:$N20000=$B2)>0),$AV2:$AV20000)
 
S

Shane Devenshire

Hi Max,

I believe your solution will double-count entries if say column J2 = to and
column N2 = B2.

Cheers,
Shane Devenshire
 

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