#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Top 3

I am trying to come up with a formula(s) that will give me the top 3 values
in a series of numbers that are in a row. These 3 values will each be in a
separate cell.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Top 3

=max(1:1)
or
=large(1:1,1)

=large(1:1,2)
and
=large(1:1,3)

1:1 is the address of row 1 (all the cells in that row). You could use A1:X1 if
you wanted.



DHSBob wrote:

I am trying to come up with a formula(s) that will give me the top 3 values
in a series of numbers that are in a row. These 3 values will each be in a
separate cell.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Top 3


Check out the RANK function.

DHSBob;472231 Wrote:
I am trying to come up with a formula(s) that will give me the top 3
values
in a series of numbers that are in a row. These 3 values will each be
in a
separate cell.



--
Simon Lloyd

Regards,
Simon Lloyd
'Microsoft Office Help' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=130464

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Top 3

Assuming your data is in A1:F1, select the 3 cells in which you want
the result to be displayed, then type either of

=LARGE(A1:F1,{1;2;3})
' or
=TRANSPOSE(LARGE(A1:F1,{1;2;3}))

If the three cells into which this formula will be entered are in a
single row spanning three columns, use the formula with TRANPOSE. If
the result cells are in one column spanning several rows, use the
formula without TRANSPOSE. After you have typed the formula, press
CTRL SHIFT ENTER rather than just ENTER.

Since this is an Array Formula, you *must* press CTRL SHIFT ENTER
rather than just ENTER when you first enter the formula
and whenever you edit it later. If you do this properly,
Excel will display the formula in the Formula Bar enclosed
in curly braces { }. (You do not type the curly braces -
Excel includes them automatically.) The formula will
not work properly if you do not use CTRL SHIFT ENTER. See
http://www.cpearson.com/excel/ArrayFormulas.aspx for lots
more information about array formulas.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)



On Tue, 1 Sep 2009 09:00:01 -0700, DHSBob
wrote:

I am trying to come up with a formula(s) that will give me the top 3 values
in a series of numbers that are in a row. These 3 values will each be in a
separate cell.

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



All times are GMT +1. The time now is 08:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"