Conditional formatting w/ formula

rjplante

Well-known Member
Joined
Oct 31, 2008
Messages
574
Office Version
  1. 365
Platform
  1. Windows
I have a three column table consisting of 40 rows. In column 1 will appear a number. I would like to have a border appear around the cells in column 2 and 3 if the value in column 1 is not blank. This is easy to do with conditional formatting.

The problem I am having is that when I generate the formula, it locks the cell position for the reference cell (eg. $B$10) and I would like to keep this relative so that when I grab the corner of the cell frame and right click and drag down to the bottom row to fill formatting only, the cell reference applies to each row and not linked to cell B10. Is this possible to do? or do I have to go and format each row manually?

Thanks

Robert
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have a three column table consisting of 40 rows. In column 1 will appear a number. I would like to have a border appear around the cells in column 2 and 3 if the value in column 1 is not blank. This is easy to do with conditional formatting.

The problem I am having is that when I generate the formula, it locks the cell position for the reference cell (eg. $B$10) and I would like to keep this relative so that when I grab the corner of the cell frame and right click and drag down to the bottom row to fill formatting only, the cell reference applies to each row and not linked to cell B10. Is this possible to do? or do I have to go and format each row manually?

Thanks

Robert


what is the formula you have tried?

say your table is setup in columns A-C, starting at row 1.

B1 conditional formatting should read: =B1=[insert your criteria here]

you should be able to drag this format down and the reference will change to the corresponding cells.
 
Upvote 0
I had merged cells and when I removed that I got it to work fine.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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