Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2012, 05:06 AM
zanat0s zanat0s is offline Conditional formatting Windows 7 64bit Conditional formatting Office 2007
Novice
Conditional formatting
 
Join Date: May 2011
Posts: 8
zanat0s is on a distinguished road
Default Conditional formatting

Hi all,



how do i apply conditional formatting where i want to highlight and compare numerical value between 2 cells

so lets say we have a table and we have the values in B2 =3 and C2= 2
How should i put a rule that will highlight the cell in that row (or column) with the highest (or lowest) value.

How is that achieved?
Reply With Quote
  #2  
Old 01-19-2012, 06:46 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Conditional formatting Windows XP Conditional formatting Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hello
Select the range to format ( say B2:C2)
Home ribbon
Styles tab
Cond formatting
Click " manage rules" - New rule - Use a formula
Enter
Code:
=B$2=max(B2:C2)
OK

Format as required -Finish

EDIT Replace MAX with MIN if needed
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post

Last edited by Pecoflyer; 01-19-2012 at 06:59 AM. Reason: Added
Reply With Quote
  #3  
Old 01-20-2012, 02:14 AM
zanat0s zanat0s is offline Conditional formatting Windows 7 64bit Conditional formatting Office 2007
Novice
Conditional formatting
 
Join Date: May 2011
Posts: 8
zanat0s is on a distinguished road
Default

this doesn't work..



i did exactly what you said but both cells both B2 and C2 were filled.

maybe i didn't explain what i want.

let's say i want to put data for 2 contestants. Then i need to highlight(by formatting) the higher value for each characteristic.

for example height b2: 1,68 c2: 1,75 ! i want cell C2 to be highlighted
Reply With Quote
  #4  
Old 01-20-2012, 03:04 AM
grizz grizz is offline Conditional formatting Windows XP Conditional formatting Office 2003
Novice
 
Join Date: Jan 2012
Posts: 28
grizz is on a distinguished road
Default

highlight B2 and C2 go conditional format / formula is
Code:
=RANK(B2,$B$2:$C$2)=1
and format your colour
Reply With Quote
  #5  
Old 01-20-2012, 03:30 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Conditional formatting Windows XP Conditional formatting Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

My mistake
should be
Code:
 =B2=MAX($B$2:$C$2)
See attached
Attached Files
File Type: xlsx CF.xlsx (12.3 KB, 9 views)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting IF and Conditional Formatting - Ver.2003 zeppelinmike Excel 1 11-13-2011 08:05 AM
Conditional formatting Conditional formatting with AND, OR Lucky Excel 2 10-03-2011 11:41 PM
Conditional Formatting namedujour Excel 3 08-25-2011 01:46 PM
Conditional formatting help with conditional formatting Snvlsfoal Excel 3 07-03-2011 11:55 PM
Conditional formatting * Conditional Formatting MS 2010 djreyrey Excel 3 06-03-2011 01:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft