How do I Clean up this formula?

B

Billy Two Hats

SUMIF(J7:J18,Sheets1!E4,G7:G18)*Sheets1!H4%+SUMIF(J7:J18,Sheets1!E4,H7:H18)*
Sheets1!H4%+ etc

The "etc" is the formula repeated over with the only change being to the row
number i.e. in E&H, 4.
The 4 become 29 and then 56.

Thanks
Dave
 
J

J.E. McGimpsey

One way, though I suspect it's not optimal:

=SUMPRODUCT(((J7:J18=Sheets1!E4)*Sheets1!H4+(J7:J18=Sheets1!E29) *
Sheets1!H29+(J7:J18=Sheets1!E56)*Sheets1!H56)%*(G7:H18))
 

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