Conditional Format

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,124
Office Version
  1. 365
Platform
  1. Windows
Good Day Everyone!

Wanted to provide a CF for cell G11 to turn an interior red if and only if, if a value is entered into its row between H11: AJ11, when G11 is blank.


Currently I have:

View attachment 116911



Would like to see this CF applied here:
View attachment 116912

Also, I'd like for the CF of G11 from the interior red cell to go away when a value has been entered into its interior cell red, as in:


View attachment 116913





Please let me know!

Thank you!
pinaceous
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I'll give this a shot. Select the cell G11 and then select CF. Format fill color red. Write formula =IF(AND(H11:AJ11 >= 0,G11=""),1,0)
 
Upvote 0
Good Day Everyone!

Wanted to provide a CF for cell G11 to turn an interior red if and only if, if a value is entered into its row between H11: AJ11, when G11 is blank.



Currently I have:

Capture before .JPG





Would like to see this CF applied here:


Capture after .JPG





Also, I'd like for the CF of G11 from the interior red cell to go away when a value has been entered into its interior cell red, as in:

Capture way after .jpg


Likewise, if nothing is entered then:

Capture way way after .jpg




Please let me know!

Thank you!
pinaceous
 
Upvote 0
I'll give this a shot. Select the cell G11 and then select CF. Format fill color red. Write formula =IF(AND(H11:AJ11 >= 0,G11=""),1,0)
Hi arthurz11,

It did not work for me....


What range should I apply it to?

Please let me know,

Thank you!
pinaceous
 
Upvote 0
I wrote two samples of Conditional Formatting formulas. One in cell G1 and the other in cell G2. Hopefully, this is what you're looking for?

Picture1.png
 
Upvote 0
I wrote two samples of Conditional Formatting formulas. One in cell G1 and the other in cell G2. Hopefully, this is what you're looking for?

View attachment 116924
Hi arthurz11,

Using the formulas you supplied =

CF apture.JPG


And here:


CF apture2.JPG



This is what I get:



CF apture3 .JPG



This is not right because it automatically highlights an interior red from H11:AJ11.

I would like G11 to be highlighted with an interior red when an entry has been made in the H11:AJ11 range if G11 is blank.

Does this make more sense?

Please let me know.

Thank you!
Pinaceous
 
Upvote 0
Assuming that G11 is actually blank, and not a null string, try this in conditional formatting for G11:
Excel Formula:
=AND(ISBLANK(G11),COUNTA(H11:AJ11)>=1)
If G11 is a null string, change
Excel Formula:
ISBLANK(G11)
to
Excel Formula:
G11=""
 
Upvote 0
Assuming that G11 is actually blank, and not a null string, try this in conditional formatting for G11:
Excel Formula:
=AND(ISBLANK(G11),COUNTA(H11:AJ11)>=1)
If G11 is a null string, change
Excel Formula:
ISBLANK(G11)
to
Excel Formula:
G11=""
Hello Asbestos_Jen,

Thank you for posting! Do you know if this can be applied to a CF?

Please let me know.

Thank you!

pinaceous
 
Upvote 0
Yes, it can:
Book1
GHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJ
111
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G11Expression=AND(ISBLANK(G11),COUNTA($H$11:$AJ$11)>=1)textNO

1726628396138.png
1726628423121.png
 
Upvote 1

Forum statistics

Threads
1,223,101
Messages
6,170,116
Members
452,302
Latest member
TaMere

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