Conditional formatting problem

bibbyd01

Board Regular
Joined
Sep 10, 2008
Messages
113
Hi All

I'm trying to set up conditional formatting in excel 2007 and have no problem setting it up for 1 cell, but when I want to copy it down the column, it bases the formatting on only 1 cell, and I can't change it.

So, for instance, in column A I have expected delivery, column B I have actual delivery, and if B2 is greater than A2 I want it to highlight red. That works fine. When I copy the formula down to cell B3, the rule changes to $B$2:$B$3. I can edit each cell individually, to create it's own rule, but this could take decades. I can't ever remove the absolute values.

Is there an option somewhere? Or am I doing something completely wrong?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi

I've set up the rule correctly. What I didn't make clear was that the range changes to $B$2:$B$3 when I copy down to the next cell, but the cell it checks against is still A2
 
Upvote 0
Try this: select B2 to the last used cell in column B, use the CF formula

=B2>A2

and apply a format.

I'm pretty sure that in Excel 2007 if you then look at the CF formula in say B7 it will be shown incorrectly as

=B2>A2

but it is correctly applied (i.e. using =B7>A7).
 
Upvote 0
I'm afraid it doesn't work

I've come up with a workaround of creating a new column and getting it to format the cell based on a number. Then, in the cell, I have an IF statement, providing a number depending on whether it's early or late.
 
Upvote 0
Working here

Excel Workbook
AB
1AB
237
31010
451
517
643
732
8104
914
1051
1194
1295
1353
1483
1543
1683
17102
1838
19107
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B21. / Formula is =B2>A2Abc
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,682
Members
452,937
Latest member
Bhg1984

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