conditional formatting 2 conditions not working

crombes

New Member
Joined
Mar 17, 2005
Messages
22
Hi

could anyone help me with a conditional formatting formula to color some cells in columns green
the conditions that have to be met are a "Z" in row 4 and and non blank cell value in row 6 ( there is a formula inside the cells) - unfortunately many trials but no solution

in the upload image you can see that the cells remain green whereas they should become back grey

thanks
 

Attachments

  • cond formatting.JPG
    cond formatting.JPG
    56.5 KB · Views: 10

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Try:
Change D7:V100 to the range of cells where you want the conditional formatting to apply
Libro1
ABCDEFGHIJKLM
4ZMDW
5
61
7STE
8DEH
9DAN
10LUK
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D7:V100Expression=AND(D$4="Z",D$6<>"")textNO
 
Upvote 0
Try:
Change D7:V100 to the range of cells where you want the conditional formatting to apply
Libro1
ABCDEFGHIJKLM
4ZMDW
5
61
7STE
8DEH
9DAN
10LUK
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D7:V100Expression=AND(D$4="Z",D$6<>"")textNO
seems better - however the cells do not become grey if row 6 does not meet the conditions
 

Attachments

  • cond fomat.JPG
    cond fomat.JPG
    75.3 KB · Views: 5
Upvote 0
seems better - however the cells do not become grey if row 6 does not meet the conditions
Of course. But you must check where the range of cells where you are going to apply begins.
Obviously the background of your cells must be gray.

Could you put an image of your conditional formatting rule.

For example:
1716980733634.png
 
Upvote 0
Of course. But you must check where the range of cells where you are going to apply begins.
Obviously the background of your cells must be gray.

Could you put an image of your conditional formatting rule.

For example:
View attachment 112033
 

Attachments

  • cond formatting row 6.JPG
    cond formatting row 6.JPG
    65.6 KB · Views: 5
  • cond formatting rule.JPG
    cond formatting rule.JPG
    36.7 KB · Views: 5
  • row 6 formula.JPG
    row 6 formula.JPG
    31.9 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,629
Members
452,661
Latest member
Nonhle

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