Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CC-Khriz
 
Posts: n/a
Default I have a long equation which I need to repeat 16 times!

I have a long equation which I need to repeat 16 times!

3 columns per month plus 4 additional sets of 3
EG:
A1 B1 C1 D1 E1 F1 G1

Jan Feb ect
Acct Value Ter Acct Value Ter
221sds21 $233 4 221sds21 $233 4

The equation I have for the 1st set of 3 columns is:

=SUMPRODUCT(--('Data Source'!$A$5:$A$555=$A4),--('Data
Source'!$C$5:$C$555=D$3),'Data Source'!$B$5:$B$555)

is there a shorter way to sum the 16 x3 columns without repeating the same
equation in multiple columns then adding the values?

Many thks in advs Chris
  #2   Report Post  
bj
 
Posts: n/a
Default

try
=SUMPRODUCT(--(and(mod(column($A$5:$AT$555),3)=1,'Data
Source'!$A$5:$AT$555=$A$4),--('Data
Source'!$C$5:$AV$555=$D$3),'Data Source'!$B$5:$AU$555)



"CC-Khriz" wrote:

I have a long equation which I need to repeat 16 times!

3 columns per month plus 4 additional sets of 3
EG:
A1 B1 C1 D1 E1 F1 G1

Jan Feb ect
Acct Value Ter Acct Value Ter
221sds21 $233 4 221sds21 $233 4

The equation I have for the 1st set of 3 columns is:

=SUMPRODUCT(--('Data Source'!$A$5:$A$555=$A4),--('Data
Source'!$C$5:$C$555=D$3),'Data Source'!$B$5:$B$555)

is there a shorter way to sum the 16 x3 columns without repeating the same
equation in multiple columns then adding the values?

Many thks in advs Chris

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 insert a Address Bar kind of drop down list within MS Exc Swiftcode Excel Discussion (Misc queries) 3 June 17th 05 12:46 AM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
macro to run series of reports to PDF Marc Bobrow Excel Worksheet Functions 5 May 13th 05 02:39 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


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