Conditional formatting - formula for blank or specific text

weeksy

New Member
Joined
Aug 21, 2014
Messages
29
Office Version
  1. 365
Platform
  1. Windows
Hi all

I'm struggling to add some conditional formatting to a worksheet. I'm trying to grey out cell V6 if cell U6 is either blank or contains N/A. I tried an OR formula (=OR(U6=N/A,ISBLANK(U6))) but it didn't grey out my cell with either N/A or blanks in the other cell, so I know I've gone wrong somewhere. I'm sure it is simple but all of my internet searches only gave me OR formulas using only text, or IS Blanks formulas only, but not combination of the two.

Any help gratefully appreciated!

Many thanks

Hilary
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Are the "N/A" values literal text values of "N/A", or is it the "#N/A" error?

If literal text, try:
Excel Formula:
=OR(U6="N/A",U6="")

If #N/A error, try:
Excel Formula:
=OR(ISNA(U6),U6="")
 
Upvote 0
Solution
Are the "N/A" values literal text values of "N/A", or is it the "#N/A" error?

If literal text, try:
Excel Formula:
=OR(U6="N/A",U6="")

If #N/A error, try:
Excel Formula:
=OR(ISNA(U6),U6="")
I knew there'd be an easy solution. Perfect thanks.
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,223,887
Messages
6,175,199
Members
452,617
Latest member
Narendra Babu D

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