conditional formatting formula

wayneeustace

New Member
Joined
May 16, 2015
Messages
22
Hi - very simple one but can't seem to solve it, sorry :(
I need A1 to highlight red if A2 is <>7. I can't seem to get the formula right in the conditional format. Thanks.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
this

Book1
AB
1
26
3
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1Expression=$A$2<>7textNO
 
Upvote 0
this

Book1
AB
1
26
3
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1Expression=$A$2<>7textNO
Thank you, Alan - yes that works. I'm sure I tried that but I think Excel may have been adding brackets or apostrophes. Anyway it's working now - appreciate the help.
 
Upvote 0
you're welcome
thanks for the feedback
 
Upvote 0
Which cells do you want the CF to work on?
 
Upvote 0
In that case select A1:Z1 & then create a rule using
Excel Formula:
=A2<>7
 
Upvote 0

Forum statistics

Threads
1,215,757
Messages
6,126,695
Members
449,331
Latest member
smckenzie2016

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