#1   Report Post  
Posted to microsoft.public.excel.misc
RM RM is offline
external usenet poster
 
Posts: 23
Default Subtotal

I have values in cells c9 to c12 and values in c15 to c18. In c19 I want the
subtotal of c9 times c15, + c10 times c16, + c11 times c17, + c12 times c18.
I used the formula in c19 as follows:
=subtotal(9,(c9*c15)+(c10*c16)+c11*c17)+(c12*c18)) but it is not working.
Please for some help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Subtotal

One way:

=SUMPRODUCT(C9:C12,C15:C18)

In article ,
RM wrote:

I have values in cells c9 to c12 and values in c15 to c18. In c19 I want the
subtotal of c9 times c15, + c10 times c16, + c11 times c17, + c12 times c18.
I used the formula in c19 as follows:
=subtotal(9,(c9*c15)+(c10*c16)+c11*c17)+(c12*c18)) but it is not working.
Please for some help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Subtotal

Why not

=C9*C15+C10*C16+C11*C17+C12*C18

Mike

"RM" wrote:

I have values in cells c9 to c12 and values in c15 to c18. In c19 I want the
subtotal of c9 times c15, + c10 times c16, + c11 times c17, + c12 times c18.
I used the formula in c19 as follows:
=subtotal(9,(c9*c15)+(c10*c16)+c11*c17)+(c12*c18)) but it is not working.
Please for some help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
RM RM is offline
external usenet poster
 
Posts: 23
Default Subtotal

thanks Mike and McG for your responses but they would not quite work because
I have more groups of subtotals to place in the worksheet and at the end I
want the grand total of all the subtotals. I am using Office 2003 I don't
know if itb is better able to be achieved in the 2007 version. I got it
easily done in Lotus but I would have liked to use it in Excel.

"Mike" wrote:

Why not

=C9*C15+C10*C16+C11*C17+C12*C18

Mike

"RM" wrote:

I have values in cells c9 to c12 and values in c15 to c18. In c19 I want the
subtotal of c9 times c15, + c10 times c16, + c11 times c17, + c12 times c18.
I used the formula in c19 as follows:
=subtotal(9,(c9*c15)+(c10*c16)+c11*c17)+(c12*c18)) but it is not working.
Please for some help.

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
How do I Subtotal, then Sort by Subtotal Amounts? dnamertz Excel Discussion (Misc queries) 3 October 29th 06 12:17 AM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 03:52 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 28th 06 11:10 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 10:08 PM.

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

About Us

"It's about Microsoft Excel"