#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
al al is offline
external usenet poster
 
Posts: 363
Default Sumproduct Help

Hello
I am trying to total values in range B9:Y44 in the Column where the max of
B8:Y8 is found and where Range Z9:Z44 ="CAT"

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Sumproduct Help

Al,

=SUMIF(Z9:Z44,"CAT",INDEX(B9:X44,,MATCH(MAX(B8:X8) ,B8:X8,FALSE)))

Or using sumproduct:

=SUMPRODUCT((Z9:Z44="CAT")*(INDEX(B9:X44,,MATCH(MA X(B8:X8),B8:X8,FALSE))))

HTH,
Bernie
MS Excel MVP


"Al" wrote in message
...
Hello
I am trying to total values in range B9:Y44 in the Column where the max of
B8:Y8 is found and where Range Z9:Z44 ="CAT"

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Sumproduct Help

This works, but there must be a better way:

=SUMPRODUCT(--(Z9:Z44="CAT"),INDIRECT(ADDRESS(9,(MATCH(MAX(B8:Y8 ),B8:Y8,0)+1))):INDIRECT(ADDRESS(44,(MATCH(MAX(B8: Y8),B8:Y8,0)+1))))

Hope this helps,

Hutch

"Al" wrote:

Hello
I am trying to total values in range B9:Y44 in the Column where the max of
B8:Y8 is found and where Range Z9:Z44 ="CAT"

Thanks

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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
SUMPRODUCT Ken[_2_] Excel Worksheet Functions 7 November 11th 07 10:52 PM
SUMPRODUCT Ken[_2_] Excel Worksheet Functions 0 November 10th 07 03:56 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
=SUMPRODUCT Jim Excel Worksheet Functions 9 January 17th 06 04:52 PM


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