#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default MAXIF / SUMPRODUCT??

Hi All,

It would be very useful for me to be able to use SUMPRODUCT to get the
maximum and minimum values depending on type similar to using it instead of
SUMIF. Can anyone tell me if it is possible to do this and, if so, how?

Many thanks in advance.

Andrew


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default MAXIF / SUMPRODUCT??

=sumproduct() won't work for this, but you can use an array formula:

=max(if(a1:a10="something",B1:b10))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can only use the whole column in xl2007.



Andrew Mackenzie wrote:

Hi All,

It would be very useful for me to be able to use SUMPRODUCT to get the
maximum and minimum values depending on type similar to using it instead of
SUMIF. Can anyone tell me if it is possible to do this and, if so, how?

Many thanks in advance.

Andrew


--

Dave Peterson
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
maxif RobFJ[_3_] Excel Worksheet Functions 5 November 3rd 08 01:50 PM
Maxif ShaneDevenshire Excel Discussion (Misc queries) 0 October 17th 08 09:08 PM
MAXIF? Carrie_Loos via OfficeKB.com Excel Discussion (Misc queries) 6 September 22nd 08 08:38 PM
Maxif equivalent Fred Smith Excel Worksheet Functions 6 December 10th 06 03:58 AM
maxif Gregg Excel Worksheet Functions 4 December 29th 04 12:52 AM


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