Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array Formula Not Working with Range with Formulas [email protected] Excel Discussion (Misc queries) 4 February 1st 06 02:01 PM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
referencing the value of a cell containing an array formula KR Excel Worksheet Functions 4 July 5th 05 06:15 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"