Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default SumProduct Assistance Please

I am trying to sum 2 columns together and multiple it by another cell if one
criteria is met.

The formula I am using is not working and displays #value. It is
=SUMPRODUCT(--(A12:A149=A4),C12:C149+H12:H149)*D2

Data looks like this
A1=Blue
D2=4.5%

Column C and H contain sales dollars

So if A12:A149 = Blue
Then sum the Columns C12:C149 and H12:149
and multiply the Total of Columns C & H by the 4.5 % in cell D2

TIA for your assistance.

This forums has assisted me with many formulas to date, but can't seem to
find one that helps with this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default SumProduct Assistance Please

Try:

=SUMPRODUCT(--(A12:A149=A4),(C12:C149+H12:H149))*D2

"ladara tech" wrote:

I am trying to sum 2 columns together and multiple it by another cell if one
criteria is met.

The formula I am using is not working and displays #value. It is
=SUMPRODUCT(--(A12:A149=A4),C12:C149+H12:H149)*D2

Data looks like this
A1=Blue
D2=4.5%

Column C and H contain sales dollars

So if A12:A149 = Blue
Then sum the Columns C12:C149 and H12:149
and multiply the Total of Columns C & H by the 4.5 % in cell D2

TIA for your assistance.

This forums has assisted me with many formulas to date, but can't seem to
find one that helps with this.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default SumProduct Assistance Please

Why not just use

=(SUMIF(A12:A149,A4,C12:C149)+SUMIF(A12:A149,A4,H1 2:H149))*D2


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"ladara tech" wrote in message
...
I am trying to sum 2 columns together and multiple it by another cell if
one
criteria is met.

The formula I am using is not working and displays #value. It is
=SUMPRODUCT(--(A12:A149=A4),C12:C149+H12:H149)*D2

Data looks like this
A1=Blue
D2=4.5%

Column C and H contain sales dollars

So if A12:A149 = Blue
Then sum the Columns C12:C149 and H12:149
and multiply the Total of Columns C & H by the 4.5 % in cell D2

TIA for your assistance.

This forums has assisted me with many formulas to date, but can't seem to
find one that helps with this.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default SumProduct Assistance Please

This worked like a charm.

Thank you for clearing the fog in my head.


"Bob Phillips" wrote:

Why not just use

=(SUMIF(A12:A149,A4,C12:C149)+SUMIF(A12:A149,A4,H1 2:H149))*D2


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"ladara tech" wrote in message
...
I am trying to sum 2 columns together and multiple it by another cell if
one
criteria is met.

The formula I am using is not working and displays #value. It is
=SUMPRODUCT(--(A12:A149=A4),C12:C149+H12:H149)*D2

Data looks like this
A1=Blue
D2=4.5%

Column C and H contain sales dollars

So if A12:A149 = Blue
Then sum the Columns C12:C149 and H12:149
and multiply the Total of Columns C & H by the 4.5 % in cell D2

TIA for your assistance.

This forums has assisted me with many formulas to date, but can't seem to
find one that helps with this.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default SumProduct Assistance Please

That did not work, but Bob's reply below did.
Thanks for your assistance

"Toppers" wrote:

Try:

=SUMPRODUCT(--(A12:A149=A4),(C12:C149+H12:H149))*D2

"ladara tech" wrote:

I am trying to sum 2 columns together and multiple it by another cell if one
criteria is met.

The formula I am using is not working and displays #value. It is
=SUMPRODUCT(--(A12:A149=A4),C12:C149+H12:H149)*D2

Data looks like this
A1=Blue
D2=4.5%

Column C and H contain sales dollars

So if A12:A149 = Blue
Then sum the Columns C12:C149 and H12:149
and multiply the Total of Columns C & H by the 4.5 % in cell D2

TIA for your assistance.

This forums has assisted me with many formulas to date, but can't seem to
find one that helps with this.

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
SUMPRODUCT assistance SDH Excel Worksheet Functions 1 May 31st 07 07:07 AM
Sumproduct assistance - need multiple ANDs and ORs Heidi Excel Worksheet Functions 3 January 31st 07 05:09 PM
Sumproduct assistance Barb Reinhardt Excel Worksheet Functions 2 January 25th 07 04:52 PM
SUMPRODUCT Assistance Barb Reinhardt Excel Worksheet Functions 3 July 28th 06 08:54 PM
I Need VBA Assistance for EOF Brent E Excel Discussion (Misc queries) 4 February 26th 05 06:00 PM


All times are GMT +1. The time now is 10:56 AM.

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"