Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Anthony
 
Posts: n/a
Default Sum product help needed with an extra variable please and thankyou

=(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
  #2   Report Post  
KL
 
Posts: n/a
Default

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


"Anthony" wrote in message
...
=(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



  #3   Report Post  
Anthony
 
Posts: n/a
Default

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

"KL" wrote:

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


"Anthony" wrote in message
...
=(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




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

=(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)


"Anthony" wrote in message
...
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

"KL" wrote:

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


"Anthony" wrote in message
...
=(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






  #5   Report Post  
KL
 
Posts: n/a
Default

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


"Anthony" wrote in message
...
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

"KL" wrote:

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


"Anthony" wrote in message
...
=(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








  #6   Report Post  
Anthony
 
Posts: n/a
Default

Thanks bob

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

anthony

"Bob Phillips" wrote:

=(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)


"Anthony" wrote in message
...
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

"KL" wrote:

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


"Anthony" wrote in message
...
=(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






  #7   Report Post  
Anthony
 
Posts: n/a
Default

Thanks KL

My reply to bob also applies to you

anthony

"KL" wrote:

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


"Anthony" wrote in message
...
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

"KL" wrote:

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


"Anthony" wrote in message
...
=(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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Percentages Darryl Charts and Charting in Excel 2 May 21st 05 04:31 PM
How to set a formula to count the product appear how manytime AMY Excel Worksheet Functions 3 March 21st 05 09:49 AM
Which function(s)? LB Excel Worksheet Functions 3 January 5th 05 06:19 PM
Sum Product Help Needed Edgar Thoemmes Excel Worksheet Functions 1 January 4th 05 04:57 PM
If statement needed Patsy Excel Worksheet Functions 1 November 4th 04 03:48 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"