Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Using sumproduct to sum multiple colums

I have split up my data in the following manner:
A B C D E
8 8 4:30
8 9 8:10 0:00 3:25
9 9 3:05
9 9 49:45
9 9 143:20
9 9 8:00
9 9 1:45
9 9 7:35
9 9 149:15
9 9 14:55
9 10 150:55 0:00 40:25
10 10 17:15

The first two columns represent months and the next three represent
downtime. I have split up the downtime where it overlaps between months.
Column C has downtime in with respect to the same row and for the month in
column A. Column E is with respect to Column B for the same row. What I need
to do is add these three clomns together based on an observation date I enter
in a different sheet. I was trying;
Obs. date Start End

sumproduct(--(A1:A1000=month(Start)),--(A1:A1000<=month(End)),(C1:C1000))+sumproduct(--(A1:A1000=month(Start)),--(A1:A1000<=month(End)),(D1:D1000))+sumproduct(--(A1:A1000=month(Start)),--(A1:A1000<=month(End)),(E1:E1000))

but this is grabbing more colums than I want, also it is a very long formula
and I need to replicate this formula for 15 worksheets. Any help would be
great.
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
Formating excel multiple paragraphs and colums using one source of data linux konqueror in progress Charts and Charting in Excel 0 October 15th 07 12:38 PM
lock multiple rows and colums ? Boswell Excel Discussion (Misc queries) 1 November 11th 06 02:29 AM
COUNTIF function query for multiple colums Malcolm Gordon Excel Worksheet Functions 5 April 10th 06 08:10 AM
sumif issues over multiple colums Hirsch Excel Worksheet Functions 1 June 16th 05 11:22 PM
Sum mixed colums in multiple worksheets Robert Lawrence Excel Worksheet Functions 1 January 29th 05 12:01 AM


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