Link to home
Start Free TrialLog in
Avatar of mak345
mak345Flag for United States of America

asked on

Sumproduct Formula

This formula gives me the correct answer, but is there a way to simplify it so that I do not have to have 2 SUMPRODUCTS?

=+SUMPRODUCT((A10=Data!$A$2:$A$5000)*(F$3=Data!$L$2:$L$5000)*(Data!$E$2:$E$5000)*(Data!$F$2:$F$5000))/+SUMPRODUCT((A10=Data!$A$2:$A$5000)*(F$3=Data!$L$2:$L$5000)*(Data!$F$2:$F$5000))

Thanks
Avatar of nutsch
nutsch
Flag of United States of America image

I believe adding 1 to the first formula will give you the same result

=SUMPRODUCT((A10=Data!$A$2:$A$5000)*(F$3=Data!$L$2:$L$5000)*(1+Data!$E$2:$E$5000)*(Data!$F$2:$F$5000))

Thomas
ASKER CERTIFIED SOLUTION
Avatar of barry houdini
barry houdini
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks barry, I obviously missed a bar there.
Avatar of mak345

ASKER

Thank you!