Conditional Format: Add Border if Cell Not Blank

MWilliams

Board Regular
Joined
Jan 29, 2010
Messages
97
I've searched for a similar thread, but could not find it.

I have a simple index that I would like to "pretty up".
Users need only to populate one cell and the rest will be auto-generated. If A2 is not blank, I want cells A2 : D2 to have a border. I have tried the following condition, but it seems to ignore cells in which I have formulas.

=ISTEXT(a2)

I've tried a number of others, unsuccessfully. Seems like it should be simple enough...

Suggestions?

Many thanks!
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

MWilliams

Board Regular
Joined
Jan 29, 2010
Messages
97
Thank-you Peter,

That worked better than mine, but still not 100%. Even though the conditional format is based on cell A2 (or 'says' it is), cell D2 does not get a border unless D2 is populated.
I want cells A2, B2, C2 and D2 to get a border regardless of which cell in row 2 is populated.
Thanks again!
 

MWilliams

Board Regular
Joined
Jan 29, 2010
Messages
97
I just slapped myself upside the head for you. Duh! :LOL:

Greatly appreciate your help.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,413
Messages
5,595,998
Members
414,037
Latest member
Roamingsmile

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
Top