Sum product help needed with an extra variable please and thankyou

G

Guest

=(SUMPRODUCT(--('Cattle Mvts'!$E$29:'Cattle Mvts'!$E$41='Cattle
Budget'!D7),('Cattle Mvts'!$C$29:'Cattle Mvts'!$C$41)*'Feedlot
Assumptions'!$B$3))

The existing formula basically says if date at D7 equals a date in the array
E29 to E41 then multiply the corresponding figure in array C29 to C41 by B3.
i now need to expand it to include the concept to do that if the contents of
array B29 to B41 equal the contents of either A9 or A18, otherwise leave
blank.

Hope someone can help

Anthony
 
K

KL

Hi Anthony,

Try this:
=(SUMPRODUCT(--('Cattle Mvts'!$E$29:$E$41='Cattle Budget'!D7),('Cattle
Mvts'!$C$29:$C$41)*'Feedlot Assumptions'!$B$3))


Regards,
KL
 
G

Guest

Hi KL

Could you check reply all I got was my formula relating to E and C cell
arrays not the extra help I need for the B array

Thanks anthony
 
B

Bob Phillips

=(SUMPRODUCT(--('Cattle Mvts'!$E$29:$E$41='Cattle Budget'!D7),--(('Cattle
Mvts'!$B$29:$B$41='Cattle Budget'!A9)+('Cattle Mvts'!$B$29:$B$41='Cattle
Budget'!A18)),('Cattle Mvts'!$C$29:$C$41)*'Feedlot Assumptions'!$B$3))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
K

KL

sorry, how about this:

=SUMPRODUCT(--($E$29:$E$41=$D$7),($B$29:$B$41=$A$9)+($B$29:$B$41=$A$18),$C$29:$C$41*$B$3)

Regards,
KL
 
G

Guest

Thanks bob

Having people like you that are willing to take the time help people like me
acheive the impossible with excel

anthony
 

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