Conditional Formatting if two cells are not the same value AND one is not blank

nmbell

New Member
Joined
Oct 27, 2015
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Good afternoon. I am trying to conditionally format a sheet so that when two cells are not the same value they get highlighted. I have been able to do that. However, I want the formatting to ignore this rule when the second column of cells doe snot contain a value. In the attached, I am trying to highlight the values in cell D and F o when the are not the same AND cell F is not blank. Since it is pulling accounting values, I don't know if I say is not 0 or is > 1 or if I say blank. Regardless, I am unable to get it to work and would love if someone could tell me how to get both rules to work.

Thank you!
 

Attachments

  • Conditional Formatting.png
    Conditional Formatting.png
    128.9 KB · Views: 50

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try something like this for your CF rule:
Excel Formula:
=AND(D5<>F5,F5<>"")
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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