Conditional formatting based on another column

charlotte89

New Member
Joined
Aug 20, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Good morning all,

I need to apply conditional formatting to column B, to highlight cells that show an increase from column A that is above a threshold (=B2>(A2+50)).
I have made a separate column (C) with the threshold limit (=A2+50), so it should just read =B2>C2

I want to apply this to the whole sheet, as my columns are greater than 10,000 cells, however I can only manage to get this to apply to a single cell.

Is there a way I can achieve the above?

See picture attached
 

Attachments

  • CF for forum.PNG
    CF for forum.PNG
    29.2 KB · Views: 6

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
selet column B
then use
=$B1>($A1+50))
and apply the formatting - you dont need C

for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
Conditional Formatting

Highlight applicable range >>
B:B - Change, reduce or extend the rows to meet your data range of rows

Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:
=$B1>($A1+50))

Format [Number, Font, Border, Fill]
choose the format you would like to apply when the condition is true
OK >> OK

Book1
AB
1AB
2233268
3200235
4300355
5600635
6800835
7100155
8490525
9520555
10550605
11580615
12610645
13640695
14670705
15700735
16730785
17760795
18790825
19820875
Sheet1
Cell Formulas
RangeFormula
B2:B3,B5:B6,B8:B9,B11:B12,B14:B15,B17:B18B2=A2+35
B4,B7,B10,B13,B16,B19B4=A4+55
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B:BExpression=$B1>($A1+50)textNO
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top