Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Top 5 of the series

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Top 5 of the series

Hi,

Put this in a cell and drag down 4 rows to get the top 5 in the range

=LARGE($A$1:$A$50,ROW(A1))

Mike

"yclhk" wrote:

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Top 5 of the series


Assuming the series of numbers is in A1:A10, select the cells in which
you want to top five elements to be returned, type the formula

=LARGE($A$1:$A$10,ROW(INDIRECT("1:5")))

and 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 Wed, 28 Jan 2009 04:45:01 -0800, yclhk
wrote:

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Top 5 of the series

Hi, Thanks for Mike & Chip. Both ways are worked.

However, I wish to show the top five result within the original series of
numbers. I had tried to enter the formula in the formula field of
conditional formatting but not work.

Thanks again,

yclhk

"Chip Pearson" wrote:


Assuming the series of numbers is in A1:A10, select the cells in which
you want to top five elements to be returned, type the formula

=LARGE($A$1:$A$10,ROW(INDIRECT("1:5")))

and 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 Wed, 28 Jan 2009 04:45:01 -0800, yclhk
wrote:

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Top 5 of the series

Select your cells, say A1:A10. Open the Conditional Formatting dialog
from the Format menu. Change "Cell Value Is" to "Formula Is", and
enter the following formula:

=NOT(ISERROR(MATCH(A1,LARGE($A$1:$A$10,ROW(INDIREC T("1:5"))),0)))

Select your format and click OK. The largest 5 elements will be
formatted.

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


On Wed, 28 Jan 2009 08:21:01 -0800, yclhk
wrote:

Hi, Thanks for Mike & Chip. Both ways are worked.

However, I wish to show the top five result within the original series of
numbers. I had tried to enter the formula in the formula field of
conditional formatting but not work.

Thanks again,

yclhk

"Chip Pearson" wrote:


Assuming the series of numbers is in A1:A10, select the cells in which
you want to top five elements to be returned, type the formula

=LARGE($A$1:$A$10,ROW(INDIRECT("1:5")))

and 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 Wed, 28 Jan 2009 04:45:01 -0800, yclhk
wrote:

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default Top 5 of the series

Thanks for Chip, it works.

Could you explain how the formula works ?

"Chip Pearson" wrote:

Select your cells, say A1:A10. Open the Conditional Formatting dialog
from the Format menu. Change "Cell Value Is" to "Formula Is", and
enter the following formula:

=NOT(ISERROR(MATCH(A1,LARGE($A$1:$A$10,ROW(INDIREC T("1:5"))),0)))

Select your format and click OK. The largest 5 elements will be
formatted.

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


On Wed, 28 Jan 2009 08:21:01 -0800, yclhk
wrote:

Hi, Thanks for Mike & Chip. Both ways are worked.

However, I wish to show the top five result within the original series of
numbers. I had tried to enter the formula in the formula field of
conditional formatting but not work.

Thanks again,

yclhk

"Chip Pearson" wrote:


Assuming the series of numbers is in A1:A10, select the cells in which
you want to top five elements to be returned, type the formula

=LARGE($A$1:$A$10,ROW(INDIRECT("1:5")))

and 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 Wed, 28 Jan 2009 04:45:01 -0800, yclhk
wrote:

How to show the top 5 of a series of numbers ? The numbers are updated
regularly. Formatting cells setting is expected but how to set the function
formula ?


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
Fill Series Dates: not letting me change the series from year to m Mike Excel Discussion (Misc queries) 1 January 24th 08 05:08 PM
how to plot column chart with one series against multiple series. svenkateshmurthy Charts and Charting in Excel 2 October 16th 07 09:09 PM
chart data series -- plot a table as a single series hjc Charts and Charting in Excel 7 September 20th 05 05:52 PM
how do I change a line series to a column series in excel? Mati Charts and Charting in Excel 1 May 12th 05 09:32 AM
series graph -- one series being added to another series rich zielinski via OfficeKB.com Charts and Charting in Excel 3 March 30th 05 06:23 PM


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