Cells changing colour

Ads1471

New Member
Joined
May 29, 2015
Messages
12
Hi

I am after a formula that works please

If I have A and B. When a date is entered into A1 I want B1 to turn red. When a date is then entered into B1 I want both to turn green.

Thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Select B1 & then then with conditional formatting > New rule > use a formula
=ISNUMBER(A1)
Select your format.

Then select A1:B1 > use this formula
=AND(ISNUMBER(A1),ISNUMBER(B1))
select your format
 
Upvote 0
thanks, I have just done this.

The first part is great, When doing the second part. It changed the B1 cel to the colour I did not want. A1 changed to the correct colour. I need both cels to be the same colour on the second part.
 
Upvote 0
The first part is right,
However when a date is entered in to B1 I want both B1 and A1 to be the same color.

When I entered the formula B1 went one color and A1 a different.
 
Upvote 0
Did B1 stay the same colour as when you put a data in A1, or did it change to another colour?
 
Upvote 0
ok so in A1 I already have a date such as 1/1/2020, In B1 I then want this cel to be red when blank.

When a date is entered in to B1 I want A1 and B1 to both turn green,
 
Upvote 0
But what colour is B1 when you enter a date into it?
 
Upvote 0
In that case check that the Applies to Range for the 2nd formula is A1:B1, not just A1
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,181
Members
448,871
Latest member
hengshankouniuniu

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