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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Greater than formulas with conditional formatting



 
 
Thread Tools Display Modes
  #1  
Old May 21st, 2004, 03:13 AM
Jamie
external usenet poster
 
Posts: n/a
Default Greater than formulas with conditional formatting

Ahhh!!! About to pull my hair out! Hopefully someone out there can
help save my hair and my sanity by giving me some excel help! :-) I
have roughly 17 cells that all contain sums calculated from other
cells. I would like to use conditional formatting (unless there is a
better suggestion) to highlight the highest sum. I've tried writting
a formula within the conditional formatting that would do this but
can't figure out how to write the formula that states if cell A3 is
greater than A4, A5, A6, and A7. I've tried it several different ways
but I keep getting an error message that says that I can't use
"unions, intersections, or array constants for Conditional Formatting
criteria." Any suggestions on how to write the formula? I also
ideally would like to rank the top 3 sums and highlight them different
colors but didn't see how that would be possible since I couldn't even
get the top one figured out! I can't simply rank the cells because
the sums are dynamic and will change depending on other inputs.

I appreciate any help! Thanks!
Jamie
  #2  
Old May 21st, 2004, 04:32 AM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default Greater than formulas with conditional formatting

Select the cells that you want to format (cells A3:A20 in this example)
Choose FormatConditional Formatting
From the first dropdown, choose Formula Is
In the text box, type a formula that refers to the active cell, e.g:
=A3=LARGE($A$3:$A$20,1)
Click the Format button, and select the formatting for the highest sum
Click OK, then click Add

Under Condition 2, from the first dropdown, choose Formula Is
In the text box, type:
=A3=LARGE($A$3:$A$20,2)
Click the Format button, and format the second highest sum
Click OK, then click Add

Under Condition 3, from the first dropdown, choose Formula Is
In the text box, type:
=A3=LARGE($A$3:$A$20,3)
Click the Format button, and format the third highest sum
Click OK, then click OK


Jamie wrote:
Ahhh!!! About to pull my hair out! Hopefully someone out there can
help save my hair and my sanity by giving me some excel help! :-) I
have roughly 17 cells that all contain sums calculated from other
cells. I would like to use conditional formatting (unless there is a
better suggestion) to highlight the highest sum. I've tried writting
a formula within the conditional formatting that would do this but
can't figure out how to write the formula that states if cell A3 is
greater than A4, A5, A6, and A7. I've tried it several different ways
but I keep getting an error message that says that I can't use
"unions, intersections, or array constants for Conditional Formatting
criteria." Any suggestions on how to write the formula? I also
ideally would like to rank the top 3 sums and highlight them different
colors but didn't see how that would be possible since I couldn't even
get the top one figured out! I can't simply rank the cells because
the sums are dynamic and will change depending on other inputs.

I appreciate any help! Thanks!
Jamie



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




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 09:24 AM.


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