View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Array Formula Help

Of course, the "AB" reference in this formula:
=SUMPRODUCT((A1:A10="AB")*((B1:B100)*(B1:B10<=(--"09/15/2006"))))

Should be "AA":
=SUMPRODUCT((A1:A10="AA")*((B1:B100)*(B1:B10<=(--"09/15/2006"))))

(Sorry about the typo)

***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

With your list in cells A1:B10

This formula calculates the count of Col_A values that equal "AA" where the
corresponding Col_B value is less than or equal to 09/15/2006:
=SUMPRODUCT((A1:A10="AB")*((B1:B100)*(B1:B10<=(--"09/15/2006"))))

Adjust range references to suit your situation.

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"DV88" wrote:

I'm working with MS Excel 2003. How would I create an array formula to meet
two different conditions from two different cell columns with one column
involving a date? For example, column A contains a list of letters--AAs and
ABs. Column B contains dates in the formats of 8/25/2006, 9/10/2006,
10/15/2006, ect. My objective is to create an array formula that will
count/provide the total number of times the cells in column A equal "AA" and
the cells in column B are less than or equal to 9/15/2006.