PC Review


Reply
Thread Tools Rate Thread

how to get more than one highest values

 
 
shaki
Guest
Posts: n/a
 
      10th Nov 2006
For example, we want to add the best two values

A B C D E
1 7 9 4 2 ---> it will add 7 and 9


Cheers.

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
Reply With Quote
 
 
 
 
Ken Johnson
Guest
Posts: n/a
 
      10th Nov 2006

shaki wrote:
> For example, we want to add the best two values
>
> A B C D E
> 1 7 9 4 2 ---> it will add 7 and 9
>
>
> Cheers.
>
> EggHeadCafe.com - .NET Developer Portal of Choice
> http://www.eggheadcafe.com


=LARGE(A1:E1,1) + LARGE(A1:E1,2)

is one way

Ken Johnson

 
Reply With Quote
 
Ken Johnson
Guest
Posts: n/a
 
      10th Nov 2006

And...

=SUM(LARGE(A1:E1,{1,2}))

is another.

Ken Johnson

 
Reply With Quote
 
bplumhoff@gmail.com
Guest
Posts: n/a
 
      10th Nov 2006
Hello,

=LARGE(A1:E1,1)+LARGE(A1:E1,2)

or

=SUMPRODUCT(LARGE(A1:E1,{1,2}))

or

=SUMPRODUCT(LARGE(A1:E1,ROW(INDIRECT("1:"&B2))))

[enter 2 into cell B2 - this formula might be useful if you ever want
to add up more than the two highest values - but keep in mind that the
result of 9 7 9 6 would be 18, not 16!]

HTH,
Bernd

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Top 3 highest values Gilbo Microsoft Excel Misc 7 31st Dec 2009 11:20 AM
Looking up the highest values. Shotodru Microsoft Access 1 9th Sep 2005 04:56 PM
Re: 3 highest values Bob Phillips Microsoft Excel New Users 1 23rd Jul 2005 02:13 PM
3 highest values Bridge Microsoft Excel New Users 0 22nd Jul 2005 04:37 PM
Three Highest Values =?Utf-8?B?Y2hyaXNo?= Microsoft Excel Misc 1 19th Oct 2004 02:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:56 PM.