Conditional Formatting row by row

jimithing007

New Member
Joined
Jul 12, 2017
Messages
16
Office Version
  1. 365
Hello,

I have a spreadsheet with Columns A-Y. There will likely be thousands of rows, and Row 1 contains my headers. Column K features a drop-down menu with a handful of selections. One of the selections is "None." If "None" is selected on any row, there is no need for data in columns K-X, so I want to gray those columns out.

I tried this with Conditional Formatting, but I can't figure out how to apply conditionally for every row. I found a formula that works for just one row, but if I apply it to the whole sheet, the whole sheet's K-X turn gray if only cell K2 is selected as "None." How do I get it to apply independently for each row's selection?

Thanks in advance.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Highlight the exact range you range you want to apply it to, and then write the Conditional Formatting formula as it pertains to the very FIRST cell in your selected range.
If you have used mixed references correctly, it will automatically adjust for all other cells.

So, if selecting columns K-X starting on row 2, the formula would look something like:
=$K2="None"
Note how column K is locked down, but the rows are allowed to float.
 
Upvote 0
Success!

I was either trying to highlight all of K in the formula, or I had the range selected incorrectly. Either way, works now. Thanks Joe4!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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