Conditional Formatting (I think

mattyn

Board Regular
Joined
Apr 20, 2015
Messages
148
Hi All

I need a really simple way to highlight a cell based on the contents of another - but am getting confused.

In short - I need cell B9 to highlight red when:

  • B9 is empty and
  • N9 has data.

Also, I would like cell B9 to highlight orange when:
  • B9 has data and
  • N9 is empty

Both B9 and N9 data will be added manually - so will not be from a formula etc.

Can this be done? If so, how?

All the best, and thank you in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try like this. I have applied the conditional formatting to B9:B12 so you can see the different effects of data in the two columns in question.

Excel Workbook
ABCDEFGHIJKLMN
9xx
10xx
11
12xxxx
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B91. / Formula is =AND(B9<>"",N9="")Abc
B92. / Formula is =AND(B9="",N9<>"")Abc
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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