Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to know how to write a conditional sum (or DSUM or other) formula
involving multiple worksheets(wks1-5) in a workbook. Here is my failed attempt in wks1: =SUM(IF(wks2DateColumn=B38 and <=C38,"",wks2AmtColumn)) wks1 contains a StartDate column and an EndDate column; the two dates in one row defines a Quarter calendar(spanning down 20 years). The next cell in each row will contain the SUM(IF..) formula, which is to calculate numerous records in worksheets 2 to 5 (each with data in identical columns). Next, copy the formula down for all 80 Quarters with cells B38 and C38 being relational, completing analysis of wks2. Then copy the formula in other wks1 columns for the other three worksheets. How to write it step-by-step? Can the formula be "relational"? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(wks2DateColumn=B38),--(wks2DateColumn<=C38),wks2AmtColumn)
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Frenchy" wrote in message ... I need to know how to write a conditional sum (or DSUM or other) formula involving multiple worksheets(wks1-5) in a workbook. Here is my failed attempt in wks1: =SUM(IF(wks2DateColumn=B38 and <=C38,"",wks2AmtColumn)) wks1 contains a StartDate column and an EndDate column; the two dates in one row defines a Quarter calendar(spanning down 20 years). The next cell in each row will contain the SUM(IF..) formula, which is to calculate numerous records in worksheets 2 to 5 (each with data in identical columns). Next, copy the formula down for all 80 Quarters with cells B38 and C38 being relational, completing analysis of wks2. Then copy the formula in other wks1 columns for the other three worksheets. How to write it step-by-step? Can the formula be "relational"? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perhaps:
=SUMPRODUCT(--(wks2DateColumn=B38), --(wks2DateColumn<=C38), wks2AmtColumn) "Frenchy" wrote: I need to know how to write a conditional sum (or DSUM or other) formula involving multiple worksheets(wks1-5) in a workbook. Here is my failed attempt in wks1: =SUM(IF(wks2DateColumn=B38 and <=C38,"",wks2AmtColumn)) wks1 contains a StartDate column and an EndDate column; the two dates in one row defines a Quarter calendar(spanning down 20 years). The next cell in each row will contain the SUM(IF..) formula, which is to calculate numerous records in worksheets 2 to 5 (each with data in identical columns). Next, copy the formula down for all 80 Quarters with cells B38 and C38 being relational, completing analysis of wks2. Then copy the formula in other wks1 columns for the other three worksheets. How to write it step-by-step? Can the formula be "relational"? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Checking if 2 of 3 conditions are met... | Excel Discussion (Misc queries) | |||
Count using 2 conditions, one of which being a "less than or equal to" - URGENT | Excel Discussion (Misc queries) | |||
COUNT using multiple conditions | Excel Discussion (Misc queries) | |||
Add cells from a range based on 2 conditions from 2 other ranges | Excel Worksheet Functions | |||
How to multiple conditions to validate more than 2 conditions to . | Excel Worksheet Functions |