Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2006

Tip: Looking for answers? Try searching our database.

how to get more than one highest values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shaki - 10 Nov 2006 10:23 GMT
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
Ken Johnson - 10 Nov 2006 10:47 GMT
> For example, we want to add the best two values
>
[quoted text clipped - 5 lines]
> EggHeadCafe.com - .NET Developer Portal of Choice
> http://www.eggheadcafe.com

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

is one way

Ken Johnson
Ken Johnson - 10 Nov 2006 10:50 GMT
And...

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

is another.

Ken Johnson
bplumhoff@gmail.com - 10 Nov 2006 10:52 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.