Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default can SUMPRODUCT Do this

=((SUMPRODUCT(--(($B$1:$F$1="3")+($A2:$A34="C2")),$B2:$F34)))

1 2 3 4 5
C1 10.00 20.00 30.00
C2 10.00 20.00 30.00
C3 10.00 20.00 30.00
C4 10.00 20.00 30.00
C5 10.00 20.00 30.00
C6 10.00 20.00 30.00
C7 10.00 20.00 30.00
C8 10.00 20.00 30.00
C9 10.00 20.00 30.00
C10 10.00 20.00 30.00
Total C
S1 10.50 21.00 31.50
S2 10.50 21.00 31.50
S3 10.50 21.00 31.50
S4 10.50 21.00 31.50
S5 10.50 21.00 31.50
S6 10.50 21.00 31.50
S7 10.50 21.00 31.50
S8 10.50 21.00 31.50
S9 10.50 21.00 31.50
S10 10.50 21.00 31.50
Total S

One Horizontal and another Vertical,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default can SUMPRODUCT Do this

The arrays need to be the same size so that won't work...

"MESTRELLA29" wrote:

=((SUMPRODUCT(--(($B$1:$F$1="3")+($A2:$A34="C2")),$B2:$F34)))

1 2 3 4 5
C1 10.00 20.00 30.00
C2 10.00 20.00 30.00
C3 10.00 20.00 30.00
C4 10.00 20.00 30.00
C5 10.00 20.00 30.00
C6 10.00 20.00 30.00
C7 10.00 20.00 30.00
C8 10.00 20.00 30.00
C9 10.00 20.00 30.00
C10 10.00 20.00 30.00
Total C
S1 10.50 21.00 31.50
S2 10.50 21.00 31.50
S3 10.50 21.00 31.50
S4 10.50 21.00 31.50
S5 10.50 21.00 31.50
S6 10.50 21.00 31.50
S7 10.50 21.00 31.50
S8 10.50 21.00 31.50
S9 10.50 21.00 31.50
S10 10.50 21.00 31.50
Total S

One Horizontal and another Vertical,

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default can SUMPRODUCT Do this

It was a Long shoot any way, any sugestions how to do this?

I need to call a given Month from a Cell, and that this will update all The
other Part No.

"Jim Thomlinson" wrote:

The arrays need to be the same size so that won't work...

"MESTRELLA29" wrote:

=((SUMPRODUCT(--(($B$1:$F$1="3")+($A2:$A34="C2")),$B2:$F34)))

1 2 3 4 5
C1 10.00 20.00 30.00
C2 10.00 20.00 30.00
C3 10.00 20.00 30.00
C4 10.00 20.00 30.00
C5 10.00 20.00 30.00
C6 10.00 20.00 30.00
C7 10.00 20.00 30.00
C8 10.00 20.00 30.00
C9 10.00 20.00 30.00
C10 10.00 20.00 30.00
Total C
S1 10.50 21.00 31.50
S2 10.50 21.00 31.50
S3 10.50 21.00 31.50
S4 10.50 21.00 31.50
S5 10.50 21.00 31.50
S6 10.50 21.00 31.50
S7 10.50 21.00 31.50
S8 10.50 21.00 31.50
S9 10.50 21.00 31.50
S10 10.50 21.00 31.50
Total S

One Horizontal and another Vertical,

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default can SUMPRODUCT Do this

I am a little lost on your question. Where are the months represented in the
table. Which are the part numbers. I am suspecting that you will wna to use
an offset function or the like but I need more details...

"MESTRELLA29" wrote:

It was a Long shoot any way, any sugestions how to do this?

I need to call a given Month from a Cell, and that this will update all The
other Part No.

"Jim Thomlinson" wrote:

The arrays need to be the same size so that won't work...

"MESTRELLA29" wrote:

=((SUMPRODUCT(--(($B$1:$F$1="3")+($A2:$A34="C2")),$B2:$F34)))

1 2 3 4 5
C1 10.00 20.00 30.00
C2 10.00 20.00 30.00
C3 10.00 20.00 30.00
C4 10.00 20.00 30.00
C5 10.00 20.00 30.00
C6 10.00 20.00 30.00
C7 10.00 20.00 30.00
C8 10.00 20.00 30.00
C9 10.00 20.00 30.00
C10 10.00 20.00 30.00
Total C
S1 10.50 21.00 31.50
S2 10.50 21.00 31.50
S3 10.50 21.00 31.50
S4 10.50 21.00 31.50
S5 10.50 21.00 31.50
S6 10.50 21.00 31.50
S7 10.50 21.00 31.50
S8 10.50 21.00 31.50
S9 10.50 21.00 31.50
S10 10.50 21.00 31.50
Total S

One Horizontal and another Vertical,

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 with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Sumproduct Help Al Excel Worksheet Functions 2 March 11th 09 06:39 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
SUMPRODUCT and OR Dave F[_2_] Excel Discussion (Misc queries) 4 December 12th 07 07:37 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM


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