ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   conditional formating in adjacent cells (https://www.excelbanter.com/excel-programming/445845-conditional-formating-adjacent-cells.html)

LISAISAAC

conditional formating in adjacent cells
 
Hi
Really hoping someone can help, been up many hours trying to sort this.
Basically I want to know how to use conditional formatting for adjacent cells.

i.e

If cell A1 contains any text then make cell C4 blue

the above is just an example and will want to format C4 to a specified colour at a later date. Very new to vba and conditional formating so please be gentle.

:-)

Gord Dibben[_2_]

conditional formating in adjacent cells
 
Select C4 then CFFormula is or Use a Formula(2007 and later)

Enter =ISTEXT(A1)

Format to blue.


Gord


On Sun, 22 Apr 2012 09:06:50 +0000, LISAISAAC
wrote:


Hi
Really hoping someone can help, been up many hours trying to sort this.
Basically I want to know how to use conditional formatting for adjacent
cells.

i.e

If cell A1 contains any text then make cell C4 blue

the above is just an example and will want to format C4 to a specified
colour at a later date. Very new to vba and conditional formating so
please be gentle.

:-)


Gord Dibben[_2_]

conditional formating in adjacent cells
 
If by "text" you mean anything, not just text...........

=NOT(ISBLANK(A1))


Gord

On Sun, 22 Apr 2012 07:47:38 -0700, Gord Dibben
wrote:

Select C4 then CFFormula is or Use a Formula(2007 and later)

Enter =ISTEXT(A1)

Format to blue.


Gord


On Sun, 22 Apr 2012 09:06:50 +0000, LISAISAAC
wrote:


Hi
Really hoping someone can help, been up many hours trying to sort this.
Basically I want to know how to use conditional formatting for adjacent
cells.

i.e

If cell A1 contains any text then make cell C4 blue

the above is just an example and will want to format C4 to a specified
colour at a later date. Very new to vba and conditional formating so
please be gentle.

:-)



All times are GMT +1. The time now is 04:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com