Formula used to conditional format rule

MrPink1986

Active Member
Joined
May 1, 2012
Messages
252
Hi there,

I am looking to incorporate the below rule as a conditional format rule - use a formula to determine which cells to format.

=IF(M2="","",IF(LEN(M2)>12,"Issue","OK"))

Do I need to create two rules essentially to replicate this here?
Or how do I amend this rule to "Format values where this formula is true:"?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I don't think you can use an IF statement in that way?

What exactly are you trying to achieve? I can't quite get my head around it!
 
Upvote 0
I don't think you can use an IF statement in that way?

What exactly are you trying to achieve? I can't quite get my head around it!

Good point I should have outlined this - In Column M for Cell2 I want to apply some conditional formatting that will highlight cells that have a string length greater than 12.
I am not concerned if the cell is blank and do not want any change made to these cells.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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