Excel - conditional formatting between two columns of numbers (greater or less than)

JFurm

I'm trying to come up with a formula, or way of highlighting cells of column G if the value is greater than the cell next to it on the same row in column H.

I can use the conditional formatting style to apply this no problem, but i can't seem to figure out how to select the whole column G against column H in one go. I would have to continuously do the same conditional formatting for every row which pretty much defeats the purpose. Ultimately, I have a large amount of data and want to immediately highlight any items i have greater or equal on hand (column G quantity to my annual usage (column H)

any help with a formula or way of replicating the conditional formatting would be greatly appreciated.

Example: https://www.dropbox.com/s/i88jkqduj5p2soz/conditional%20formatting%20example.JPG?dl=0

barry houdini

For conditional formatting if you select a range of data first then that range will become the "applies to" range and you only need apply the formula that's required for the top left cell of the range - this formula will then implicitly adjust (as if dragged) for the whole "applies to" range, so if you have data in G2:H100 then just select the range G2:G100 and apply this formula in conditional formatting:

=G2>H2

choose format as required > OK

If you genuinely want the whole column then just select column G and adjust my suggested formula to work for row 1

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Conditional formatting is not working for less than TODAY(), only for greater than

Excel; Conditional formatting Date/Time between two columns

Excel Match Values from column and check date in two columns with greater or less than

Conditional Formatting on Sum of Two Columns in Excel

How to count number of cells greater or less than 0 (zero) between two dates in Excel?

Excel 2010 Conditional Formatting for a range based on "Less Than" and "OR"

Conditional Formatting if one time is greater than the other

Greater than Conditional Formatting using VBA

Adding conditional formatting to a value less than 0

Conditional Formatting in Excel selecting wrong rows when trying to highlight cells greater than 15

In Excel, how to apply graded color scale (with conditional formatting) only if cell value is greater than 5?

Conditional formatting in Excel 2013 based on inequality between two cells

Finding numbers greater and less than in array

Conditional Formatting Between Different Columns

How would I use Excel's conditional formatting to highlight values closer to 0 between two columns if there are both positive and negative values?

How to remove a row if the difference between two columns is less than 2000

Conditional formatting between two values

Angular Conditional in HTML does not like less than or greater than symbols

Writing greater and less than in excel syntax

Conditional formatting cell x numbers of columns to the left

Generating m numbers that equal 100 but difference between two numbers have to be greater than 4

Checking a string for numbers less than a and greater than b

How to find numbers in an array that are greater than, less than, or equal to a value?

Regex match greater than or less than symbol followed by any numbers

Directive to accept numbers greater than 0 and less than 100

Conditional formatting, the difference in values in A and B greater than 2.5

Conditional formatting across sheets to highlight a cell based on greater than comparison

Excel conditional formatting based on absolute numbers

Comparing two lists using the greater than or less than operator

TOP Ranking

HotTag

Archive