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. |
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. |
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. |
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. |
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. |
All times are GMT +1. The time now is 01:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com