View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
frenchy frenchy is offline
external usenet poster
 
Posts: 3
Default SUM(IF(multible conditions))

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"?