A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Simply Array Formula?



 
 
Thread Tools Display Modes
  #1  
Old May 31st, 2010, 04:11 PM posted to microsoft.public.excel.misc
Going Crazy with excel[_2_]
external usenet poster
 
Posts: 16
Default Simply Array Formula?

I have a column of numbers. Looking for an array formula that will identify
and highlite the "highest" three values. Does such an animal exist?
  #2  
Old May 31st, 2010, 04:21 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default Simply Array Formula?

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will identify
and highlite the "highest" three values. Does such an animal exist?

  #3  
Old May 31st, 2010, 04:44 PM posted to microsoft.public.excel.misc
Going Crazy with excel[_2_]
external usenet poster
 
Posts: 16
Default Simply Array Formula?

Think you are on the right track, but I am dumb. Probably want to go with
the conditional formula. Numbers are in column "B" running from B2 thru B21.
Where do I put the formula? In cell "B2"

"Mike H" wrote:

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will identify
and highlite the "highest" three values. Does such an animal exist?

  #4  
Old May 31st, 2010, 04:58 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Simply Array Formula?

Yes, but of course you'd have to select the range B2:B21 and use the CF
"formula is" of
=B2=LARGE($B$2:$B$21,1)
=B2=LARGE($B$2:$B$21,2)
=B2=LARGE($B$2:$B$21,3)
--
David Biddulph


"Going Crazy with excel"
wrote in message ...
Think you are on the right track, but I am dumb. Probably want to go with
the conditional formula. Numbers are in column "B" running from B2 thru
B21.
Where do I put the formula? In cell "B2"

"Mike H" wrote:

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will
identify
and highlite the "highest" three values. Does such an animal exist?



  #5  
Old May 31st, 2010, 06:21 PM posted to microsoft.public.excel.misc
Going Crazy with excel[_2_]
external usenet poster
 
Posts: 16
Default Simply Array Formula?

Confused. Really dumb today.
"select" meaning "highlite"?
Use the "CF" formula? CF meaning?
Formula itself entered on the formula bar?

"David Biddulph" wrote:

Yes, but of course you'd have to select the range B2:B21 and use the CF
"formula is" of
=B2=LARGE($B$2:$B$21,1)
=B2=LARGE($B$2:$B$21,2)
=B2=LARGE($B$2:$B$21,3)
--
David Biddulph


"Going Crazy with excel"
wrote in message ...
Think you are on the right track, but I am dumb. Probably want to go with
the conditional formula. Numbers are in column "B" running from B2 thru
B21.
Where do I put the formula? In cell "B2"

"Mike H" wrote:

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will
identify
and highlite the "highest" three values. Does such an animal exist?



.

  #6  
Old May 31st, 2010, 06:45 PM posted to microsoft.public.excel.misc
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Simply Array Formula?

Select means click on B2 and drag down to B21 which selects all those cells.

CF means Conditional Formatting

The formulas are to be entered into........ver 2007...... CFNew RuleUse a
Formula

You must make 3 rules for the selection.

ver 2003...........FormatCFCondition1Formula is

Add 2 more conditions.



Gord Dibben MS Excel MVP


On Mon, 31 May 2010 10:21:01 -0700, Going Crazy with excel
wrote:

Confused. Really dumb today.
"select" meaning "highlite"?
Use the "CF" formula? CF meaning?
Formula itself entered on the formula bar?

"David Biddulph" wrote:

Yes, but of course you'd have to select the range B2:B21 and use the CF
"formula is" of
=B2=LARGE($B$2:$B$21,1)
=B2=LARGE($B$2:$B$21,2)
=B2=LARGE($B$2:$B$21,3)
--
David Biddulph


"Going Crazy with excel"
wrote in message ...
Think you are on the right track, but I am dumb. Probably want to go with
the conditional formula. Numbers are in column "B" running from B2 thru
B21.
Where do I put the formula? In cell "B2"

"Mike H" wrote:

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will
identify
and highlite the "highest" three values. Does such an animal exist?



.


  #7  
Old May 31st, 2010, 07:03 PM posted to microsoft.public.excel.misc
jkiser
external usenet poster
 
Posts: 43
Default Simply Array Formula?

Mike H... just snooping around and stopped on this post to learn something.
This is really a neat function.

Question... when looking in the Excel help about the LARGE Function. It
explained the function but didn't go so far as to show the substitution of
Row(A1) for "k"). Where did you learn to do that?

If I wanted to find a reference book/site on the use of higher-order excel
formulas where would I start?

"Mike H" wrote:

Hi,

Here's 2 ways and both assume your data are in A1:A20.

Put this in a cell and drag down to get the 3 largest numbers
=LARGE($A$1:$A$20,ROW(A1))

Or with conditional formatting. Select the range A1:A20

and apply a conditional format of
=A1=LARGE($A$1:$A$20,1)
Set your colour

Add a second CF of
=A1=LARGE($A$1:$A$20,2)

And a third of
=A1=LARGE($A$1:$A$20,3)





--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

I have a column of numbers. Looking for an array formula that will identify
and highlite the "highest" three values. Does such an animal exist?

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.