Conditional formatting and Formula option - When Cell = --

PCRIDE

Well-known Member
Joined
Jan 20, 2008
Messages
902
How do I get conditional formatting to see the double hyphen?

I simply have a formula, IFERROR,"--" and in Conditional formatting I get an error when using cell = --. I thought to put the '-- but still gives me an error. Any thoughts around this?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Maybe something like
=D2="--"
 
Upvote 0
Didn't work. I tried using Text and Cell value.

XKRZTW0
 
Last edited:
Upvote 0
I should say that it accepts ="--" and I use Stop if True, but it doesn't turn the conditional formatting off. I ended up modifying the formula in the cell If(B2="--","",formula here
 
Last edited:
Upvote 0
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,024
Members
448,543
Latest member
MartinLarkin

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