Conditional Formatting Question

Kalmaklysm

New Member
Joined
Mar 20, 2024
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I have a cell (K1) that I would like to highlight a specific color, if there is match to "#N/A" in ANY cell in all of column "Y". Is there a way to do this?

I am using this to flag an error. Should a user override any cell that is not protected, and it breaks the formula in cell Y, cell Y will populate with #N/A. I want #N/A to trigger a protected cell (K1) to highlight a color, to indicate that there is an error somewhere on the sheet and it should be investigated.

I hope I made this clear, thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
You should be able to use the formula option in conditional format with:
Excel Formula:
=ISNA(K1)
 
Upvote 0
Use this formula to CF K1 and revert -

Excel Formula:
=COUNTIF(Y:Y,"#N/A")
 
Last edited:
Upvote 0
Solution
Use this formula to CF K1 and revert -

Excel Formula:
=COUNTIF(Y:Y,"#N/A")
Thank you so much. I can't believe I couldn't figure this out. So simple. For some reason I think I was just omitting the "," after Y:Y when I was trying to do it myself. Thank you again!
 
Upvote 0
Thank you so much. I can't believe I couldn't figure this out. So simple. For some reason I think I was just omitting the "," after Y:Y when I was trying to do it myself. Thank you again!
Glad to help you and thanks for the feedback.

It can happen to anybody at times.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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