Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nick Danger
 
Posts: n/a
Default Conditional Formatting - Formula based

Just a question - I'm not sure exactly how to google what I want to
know.

I am interested in using conditional formatting, formula based, where
using a variable length sheet, compare column F values to adjacent
column G values - if F is greater than G, color H red, if F is less
than G color H blue.

I wasn't sure how to make it work for the whole column.

Ideas?

Ben/ND
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

In the first cell of your data in column H (Say its H1 for sake of example)
use these formulas, and drag down to the end of your data:

In the first condition:
=F1G1
and make this formatting Red

Then, make a second condition (formula based again) and enter this formula:
=G1F1
and make this formatting Blue.


--
Regards,
Dave


"Nick Danger" wrote:

Just a question - I'm not sure exactly how to google what I want to
know.

I am interested in using conditional formatting, formula based, where
using a variable length sheet, compare column F values to adjacent
column G values - if F is greater than G, color H red, if F is less
than G color H blue.

I wasn't sure how to make it work for the whole column.

Ideas?

Ben/ND

  #3   Report Post  
Ray A
 
Posts: n/a
Default

One way
Highlight column H FormatConditional Formating Condition 1Formula is
=if(F1G1,true,false) format color to red
Condition 2 formula is
=if(G1F1,true,false) format color to blue
Use ctrl + enter
HTH

"Nick Danger" wrote:

Just a question - I'm not sure exactly how to google what I want to
know.

I am interested in using conditional formatting, formula based, where
using a variable length sheet, compare column F values to adjacent
column G values - if F is greater than G, color H red, if F is less
than G color H blue.

I wasn't sure how to make it work for the whole column.

Ideas?

Ben/ND

  #4   Report Post  
David Billigmeier
 
Posts: n/a
Default

Ray -
You don't need to use the IF() statement. The function =F1G1 (or =G1F1
for the second) will output the same thing.


--
Regards,
Dave


"Ray A" wrote:

One way
Highlight column H FormatConditional Formating Condition 1Formula is
=if(F1G1,true,false) format color to red
Condition 2 formula is
=if(G1F1,true,false) format color to blue
Use ctrl + enter
HTH

"Nick Danger" wrote:

Just a question - I'm not sure exactly how to google what I want to
know.

I am interested in using conditional formatting, formula based, where
using a variable length sheet, compare column F values to adjacent
column G values - if F is greater than G, color H red, if F is less
than G color H blue.

I wasn't sure how to make it work for the whole column.

Ideas?

Ben/ND

  #5   Report Post  
Nick Dangr
 
Posts: n/a
Default

Worked like a charm. Don't know why I didn't think it'd be so
simple!!! Thanks very much!

Ben / ND

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
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Formulae, conditional formatting & macro security Kevin Lucas Excel Discussion (Misc queries) 7 March 15th 05 01:10 PM
Conditional formatting with dates formula problem. [email protected] Excel Discussion (Misc queries) 8 March 5th 05 11:47 PM
Conditional Formatting based on month name David Excel Discussion (Misc queries) 4 February 9th 05 09:19 AM
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 06:50 PM


All times are GMT +1. The time now is 05:54 PM.

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"