Conditional formatting with AND operator

JoepDemey

New Member
Joined
Mar 2, 2011
Messages
5
Hello,

I have a simple request, and I thought I had the answer myself, but I must be doing something wrong....

I am using Excel 2007 and I have a sheet with 3 columns:
- Column A contains either "ja" or "nee" (yes or no in dutch)
- Column B contains numerical values
- Column C should have a conditional format of a certain color fill, when:
A is "ja" AND B > 100

I have put a conditional format on column A with the formula
Formula: =A1="ja"
I have put a conditional format on column B with the formula
Formula: =B1>100
But I can't get my conditional format on column C with this formula
Formula: =AND(A1="ja",B1>100)
I get this error:
The formula you typed contains an error.

  • For information about fixing common formula problems, click Help.
  • To get assistance in entering a function, click Function Wizard (Formulas tab, Function Library group).
  • If you are not trying to enter a formula, avoid using an equal sign (=) or minus sign (-), or precede it with a single quotation mark (').
 
The same for me. I have been at war with that topic for a while and the answer had been waiting here for years... Thanks for the OP and all those who answered.:)
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,225,156
Messages
6,183,229
Members
453,152
Latest member
ChrisMd

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