LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Domenic
 
Posts: n/a
Default

In article ,
"Syed" wrote:

Based on that formula, I
believe the following will work for the remaining calculations:

For K39 (copied across):
=SUM(MMULT((($D$6:$D$17=$D39)*($E$6:$E$17=$E$39))* ($E$6:$E$17=TRANSPOSE($E$21:
$E$23)),$Q$21:$AB$23)*($Q$6:$AB$17)*($F$6:$F$17)*( $Q$2:$AB$2=K$2))


One very minor detail, you can get rid of one set of brackets...

=SUM(MMULT(($D$6:$D$17=$D39)*($E$6:$E$17=$E$39)*($ E$6:$E$17=
TRANSPOSE($E$21:$E$23)),$Q$21:$AB$23)*($Q$6:$AB$17 )*($F$6:$F$17)*
($Q$2:$AB$2=K$2))

For Q39 (copied across):
=SUM(MMULT((($D$6:$D$17=$D39)*($E$6:$E$17=$E$39))* ($E$6:$E$17=TRANSPOSE($E$21:
$E$23)),$Q$21:$AB$23)*($Q$6:$AB$17)*($F$6:$F$17)*( $Q$1:$AB$1=Q$1))


Can be shortened to...

=SUM(MMULT(($D$6:$D$17=$D39)*($E$6:$E$17=$E39)*($E $6:$E$17=
TRANSPOSE($E$21:$E$23)),Q$21:Q$23)*(Q$6:Q$17)*($F$ 6:$F$17))

Alternatively, you can use...

=SUMPRODUCT(--($D$6:$D$17=$D39),--($E$6:$E$17=
$E39),SUMIF($E$21:$E$23,$E$6:$E$17,Q$21:Q$23),$F$6 :$F$17,Q$6:Q$17)

....confirmed with just ENTER.

Hope this helps!
 
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
Multiplication in one cell Need to Multiply within one cell Excel Discussion (Misc queries) 1 June 22nd 05 04:08 PM
Need a 1 Column multiplication formula for 2600 cells. How? Buckle Excel Worksheet Functions 1 March 25th 05 04:17 PM
multiplication table Robbi777 Excel Discussion (Misc queries) 1 March 3rd 05 04:36 AM
Multiplication Table Faehnfare Setting up and Configuration of Excel 2 January 16th 05 05:40 PM
Help Excel97 gives incorrect multiplication response DrivenOG Excel Worksheet Functions 2 November 15th 04 03:29 PM


All times are GMT +1. The time now is 01:49 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"