Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
lightninbug
 
Posts: n/a
Default Need conditional formatting formula to highlight top ten values i.

Hello,
I have seen this done with conditional formatting, where the top ten values
in a column are highlighted, But for the life of me I can not come up with a
formula to do it. Does anyone know a formula for this? Thanks so much.
  #2   Report Post  
Tim C
 
Posts: n/a
Default

Try:

=RANK(A1,$A$1:$A$20)<=10

Tim C

"lightninbug" wrote:

Hello,
I have seen this done with conditional formatting, where the top ten
values
in a column are highlighted, But for the life of me I can not come up with
a
formula to do it. Does anyone know a formula for this? Thanks so much.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Assuming the values are in B1:B15, this should do it

=B1=LARGE($B$1:$B$15,10)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"lightninbug" wrote in message
...
Hello,
I have seen this done with conditional formatting, where the top ten

values
in a column are highlighted, But for the life of me I can not come up with

a
formula to do it. Does anyone know a formula for this? Thanks so much.



  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

oops, forget that, it is the top n where n = the count-9

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Assuming the values are in B1:B15, this should do it

=B1=LARGE($B$1:$B$15,10)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"lightninbug" wrote in message
...
Hello,
I have seen this done with conditional formatting, where the top ten

values
in a column are highlighted, But for the life of me I can not come up

with
a
formula to do it. Does anyone know a formula for this? Thanks so much.





  #5   Report Post  
lightninbug
 
Posts: n/a
Default



Thanks Tim, I tried this and I did not get it to work
and
Thanks Bob, I tried the first formula and can not get it to work, and I am
not sure how you meant fo rme to edit it with you second response.

So anymore things to try? : )


  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

I think I was suggesting you forget mine altogether, and use the other one
(that does work) :-).

Bob


"lightninbug" wrote in message
...


Thanks Tim, I tried this and I did not get it to work
and
Thanks Bob, I tried the first formula and can not get it to work, and I am
not sure how you meant fo rme to edit it with you second response.

So anymore things to try? : )



  #7   Report Post  
lightninbug
 
Posts: n/a
Default

Ok - I'll keep working with Tim's formula - I must be doing something wrong
since I can not get it to work. Thanks So Much! Have a great day : )

"Bob Phillips" wrote:

I think I was suggesting you forget mine altogether, and use the other one
(that does work) :-).

Bob


"lightninbug" wrote in message
...


Thanks Tim, I tried this and I did not get it to work
and
Thanks Bob, I tried the first formula and can not get it to work, and I am
not sure how you meant fo rme to edit it with you second response.

So anymore things to try? : )




  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default

Really? I tried Tim's and it worked great for me.

What does the data look like, and what is your exact formula?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"lightninbug" wrote in message
...
Ok - I'll keep working with Tim's formula - I must be doing something

wrong
since I can not get it to work. Thanks So Much! Have a great day : )

"Bob Phillips" wrote:

I think I was suggesting you forget mine altogether, and use the other

one
(that does work) :-).

Bob


"lightninbug" wrote in message
...


Thanks Tim, I tried this and I did not get it to work
and
Thanks Bob, I tried the first formula and can not get it to work, and

I am
not sure how you meant fo rme to edit it with you second response.

So anymore things to try? : )






  #9   Report Post  
lightninbug
 
Posts: n/a
Default



How very strange you are right it does work on one of my xsheets, but will
not work on the other. Why would that be? In both xsheets the column where I
want to highlight the top are dollar values. Have any ideas?
  #10   Report Post  
lightninbug
 
Posts: n/a
Default

The spreadsheet that it works on is about 32 colums and 400 rows of
vendor/article information with the last column being the Dollar value of the
product .

The other wher it does nto work, is 3 columns by 100 rows with an article
number, a site and total dollar value in that last column
I am trying to rank the top ten articles by dollar, as the list is to be
kept in article order.... ( otherwise it would be easier to just sort and
have the ten at the top....)



  #11   Report Post  
lightninbug
 
Posts: n/a
Default

DUHHH -
Thanks for your patience Bob! In formula that did not work, my reference
number was still absolute! And Tim, my apologies this was so simple I should
have got it!

Have a great day!



How very strange you are right it does work on one of my xsheets, but will
not work on the other. Why would that be? In both xsheets the column where I
want to highlight the top are dollar values. Have any ideas?

  #12   Report Post  
Bob Phillips
 
Posts: n/a
Default

Glad you cracked it.

Bob


"lightninbug" wrote in message
...
DUHHH -
Thanks for your patience Bob! In formula that did not work, my reference
number was still absolute! And Tim, my apologies this was so simple I

should
have got it!

Have a great day!



How very strange you are right it does work on one of my xsheets, but

will
not work on the other. Why would that be? In both xsheets the column

where I
want to highlight the top are dollar values. Have any ideas?



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
=IF Statement formula or conditional formatting Abi Excel Worksheet Functions 6 January 18th 05 01:06 PM
Conditional Formatting based on Formula Pete Petersen Excel Worksheet Functions 1 January 17th 05 11:49 PM
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 06:50 PM
conditional formatting conflict? Abi Excel Worksheet Functions 2 January 11th 05 03:41 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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