Conditional Format based on 2nd cell

Excelrookie86

New Member
Joined
Mar 22, 2022
Messages
33
Office Version
  1. 365
Platform
  1. Windows
So to piggy back off of this, any way to formulate for the following?

If Column J is <today() and Column M is <100 format the cell in J as red

I tried =AND($J:$J>TODAY(), $M:$M<100%)

But it isn't picking up the fact that m13 is 0 and therefore j13 should be red.
@DanteAmor

1687986723463.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
You must put the following formula in the conditional format.

- In the New Formatting Rule window, select Use a formula to determine which cells to format.
- Enter the formula in the corresponding box.

Try:

varios 28jun2023.xlsm
JKLM
10
1127-jun99%
1228-jun99%
1329-jun99%
1427-jun100%
1528-jun100%
1629-jun100%
Hoja6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
J11:J1000Expression=AND($J11<TODAY(),$M11<100%,$J11<>"")textNO
 
Upvote 0
T
You must put the following formula in the conditional format.

- In the New Formatting Rule window, select Use a formula to determine which cells to format.
- Enter the formula in the corresponding box.

Try:

varios 28jun2023.xlsm
JKLM
10
1127-jun99%
1228-jun99%
1329-jun99%
1427-jun100%
1528-jun100%
1629-jun100%
Hoja6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
J11:J1000Expression=AND($J11<TODAY(),$M11<100%,$J11<>"")textNO
Thank you.
Getting closer but now ALL cells are red, regardless of the % in the M cell
1687987642393.png
 
Upvote 0
You must put the following formula in the conditional format.

- In the New Formatting Rule window, select Use a formula to determine which cells to format.
- Enter the formula in the corresponding box.


1687987910134.png


Excel Formula:
=AND($J11<TODAY(),$M11<100%,$J11<>"")
 
Upvote 0
You must put the following formula in the conditional format.

- In the New Formatting Rule window, select Use a formula to determine which cells to format.
- Enter the formula in the corresponding box.


View attachment 94394

Excel Formula:
=AND($J11<TODAY(),$M11<100%,$J11<>"")
Ive made the changes but no go, see M8 as example. 55% due 6/23 but not red.
If it helps there is also one red that shouldnt be. M24
1687988566819.png



1687988608246.png
 
Upvote 0
What do you have in Applies to:

1687992183947.png


What do you have in cell M11

1687992255857.png
 

Attachments

  • 1687992169194.png
    1687992169194.png
    23.3 KB · Views: 4
Upvote 0
The formula was changed.
You should also start on row 11.

And check that in Applies to, it also starts at 11.


1687993937481.png
 
Upvote 0
but changed to yours and same issue

It is not the same issue, from post #2 I told you that you should put the formula
And in the example everything starts in row 11.

Please pay more attention to the examples, that way you would have already solved it from the beginning.

Do not despair, you will see that everything will be fine.



1687997218871.png
 
Upvote 0
It is not the same issue, from post #2 I told you that you should put the formula
And in the example everything starts in row 11.

Please pay more attention to the examples, that way you would have already solved it from the beginning.

Do not despair, you will see that everything will be fine.



View attachment 94404
Thank you, I have resolved this. I appreciate your patience. I am working from a work PC and can not upload the file itself to make it easier on you.

I GREATLY appreciate your time and effort. Thank you :)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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