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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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