Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Sumproduct - two+ criteria

I have a lookup table of nine 4-digit codes in cells A59:A67. I have two
cells, M9 and O9, which have the letters A and F inputted in them,
respectively. I want a formula that looks to the cells A59:A67 and counts
only those codes located in a data column ("PB_Extract" Column E). But I also
want the formula to to further filter the results by giving me only account
names (located in "PB_Extract" Column E) which has a starting letter within a
specific alphabetical range (within the two cells M9 and O9). Can somebody
help?! I would very grateful. Please let me know if I need to provide more
details.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default Sumproduct - two+ criteria

Hello Bryce,

I presume your codes and names can't both be in column E, I'll assume that
the names are in column F. I also assume that you want to include all names
beginning with A, B, C, D, E and F, if A and F appear in M9 and O9. Try this
formula

=SUMPRODUCT(--ISNUMBER(MATCH('PB_Extract'!E1:E1000,A59:A67,0)),--(UPPER(LEFT('PB_Extract'!F1:F1000))=M9),--(UPPER(LEFT('PB_Extract'!F1:F1000))<=O9))

adjust ranges as necessary

"Bryce" wrote:

I have a lookup table of nine 4-digit codes in cells A59:A67. I have two
cells, M9 and O9, which have the letters A and F inputted in them,
respectively. I want a formula that looks to the cells A59:A67 and counts
only those codes located in a data column ("PB_Extract" Column E). But I also
want the formula to to further filter the results by giving me only account
names (located in "PB_Extract" Column E) which has a starting letter within a
specific alphabetical range (within the two cells M9 and O9). Can somebody
help?! I would very grateful. Please let me know if I need to provide more
details.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Sumproduct - two+ criteria

This is awesome! Thank you so much. It works perfectly!

"daddylonglegs" wrote:

Hello Bryce,

I presume your codes and names can't both be in column E, I'll assume that
the names are in column F. I also assume that you want to include all names
beginning with A, B, C, D, E and F, if A and F appear in M9 and O9. Try this
formula

=SUMPRODUCT(--ISNUMBER(MATCH('PB_Extract'!E1:E1000,A59:A67,0)),--(UPPER(LEFT('PB_Extract'!F1:F1000))=M9),--(UPPER(LEFT('PB_Extract'!F1:F1000))<=O9))

adjust ranges as necessary

"Bryce" wrote:

I have a lookup table of nine 4-digit codes in cells A59:A67. I have two
cells, M9 and O9, which have the letters A and F inputted in them,
respectively. I want a formula that looks to the cells A59:A67 and counts
only those codes located in a data column ("PB_Extract" Column E). But I also
want the formula to to further filter the results by giving me only account
names (located in "PB_Extract" Column E) which has a starting letter within a
specific alphabetical range (within the two cells M9 and O9). Can somebody
help?! I would very grateful. Please let me know if I need to provide more
details.

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
sumproduct formula (multiple criteria) Inter Excel Discussion (Misc queries) 11 August 9th 07 12:28 PM
Sumproduct using named ranges and multiple criteria A.Gates Excel Discussion (Misc queries) 5 January 26th 07 11:41 PM
SUMPRODUCT Criteria Via Cell Reference?? John V Excel Worksheet Functions 8 April 12th 06 07:55 PM
Multiple Criteria in SumProduct, N/A Result dcd123 Excel Worksheet Functions 7 October 7th 05 01:26 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 11:16 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"