Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Array Formula Help
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. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Array Formula Help
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. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Array Formula Help
Ron,
I believe that did it! Thanks for the assist--I appreciate it! Regards, DV88 "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. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Array Formula Help
I was following you--been trying to figure this out for some time...should
have went this route sooner. Again, thanks. "Ron Coderre" wrote: 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Array Formula Not Working with Range with Formulas | Excel Discussion (Misc queries) | |||
Array formula returning wrong results | Excel Discussion (Misc queries) | |||
referencing the value of a cell containing an array formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |